aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Runge <david.runge@frqrec.com>2013-12-13 01:51:42 +0100
committerDavid Runge <david.runge@frqrec.com>2013-12-13 01:51:42 +0100
commitde19c977705f05e65cc81ecf54fb3c4291b84da8 (patch)
tree6d799501a99c179e28e14c9644347744396fec64
parent5389aa5b12b16b2c8bf0a40da4a9a19dcba0cf91 (diff)
downloaddotfiles-de19c977705f05e65cc81ecf54fb3c4291b84da8.tar.gz
dotfiles-de19c977705f05e65cc81ecf54fb3c4291b84da8.tar.bz2
dotfiles-de19c977705f05e65cc81ecf54fb3c4291b84da8.tar.xz
dotfiles-de19c977705f05e65cc81ecf54fb3c4291b84da8.zip
Included .thumbs folder in the exclude line. Updated echo output.
-rw-r--r--.zsh.after/functions.zsh6
1 files 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
}