diff options
-rw-r--r-- | .zsh.after/functions.zsh | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/.zsh.after/functions.zsh b/.zsh.after/functions.zsh index 80382d3..9a192d9 100644 --- a/.zsh.after/functions.zsh +++ b/.zsh.after/functions.zsh @@ -227,7 +227,7 @@ function lopen () { sudo cryptsetup luksOpen /dev/disk/by-uuid/b2a8c89e-22f3-4e16-bdd3-ef4bcac8ed4f $1 ;; "photos") - sudo cryptsetup luksOpen /dev/disk/by-uuid/b2a8c89e-22f3-4e16-bdd3-ef4bcac8ed4f $1 + sudo cryptsetup luksOpen /dev/disk/by-uuid/b3c5a842-474b-4c2f-a246-abebe1da3450 $1 ;; esac sudo mount /dev/mapper/$1 /mnt/$1 @@ -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 $1 $2 + 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" } function backupfolder () { - rsync -r -t -p -o -g -v --progress --delete --ignore-existing --size-only -s --exclude lost+found $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' $1 $2 } |