From de19c977705f05e65cc81ecf54fb3c4291b84da8 Mon Sep 17 00:00:00 2001 From: David Runge Date: Fri, 13 Dec 2013 01:51:42 +0100 Subject: Included .thumbs folder in the exclude line. Updated echo output. --- .zsh.after/functions.zsh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 9a192d9..8831257 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -245,12 +245,12 @@ function lclose () { ## RSYNC function backupinfo () { - rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' $1 $2 - echo "rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude lost+found /path/to/folder/ /path/to/other/folder" + rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' $1 $2 + echo "rsync -r -n -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '\$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' /path/to/folder/ /path/to/other/folder" } function backupfolder () { - rsync -r -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' $1 $2 + rsync -r -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude 'lost+found' --exclude '.Trash-1000' --exclude '$RECYCLEBIN' --exclude 'System Volume Information' --exclude '.thumbs' $1 $2 } -- cgit v1.2.3-70-g09d2