dotfiles

configuration files for shell, text editor, graphical environment, etc.
git clone git://src.adamsgaard.dk/dotfiles
Log | Files | Refs | README | LICENSE Back to index

commit 0e1aa78b46ca8cd35d6740a5b00bfd059d966624
parent f74e0673a201e188f755d44bba2e3937f150fb57
Author: Anders Damsgaard <anders@adamsgaard.dk>
Date:   Thu,  4 Jul 2019 09:15:33 +0200

Exclude surf cache

Diffstat:
M.local/bin/backup-adamsgaard | 8++++++--
M.local/bin/backup-usb | 8++++++--
2 files changed, 12 insertions(+), 4 deletions(-)

diff --git a/.local/bin/backup-adamsgaard b/.local/bin/backup-adamsgaard @@ -2,6 +2,10 @@ dest=ad@adamsgaard.dk:/Volumes/ext2/backup rsync -ravzhe ssh --delete /etc/ "$dest"/etc/ rsync -ravzhe ssh --delete --progress \ - --exclude=tmp --exclude=.cache --exclude=videos/tmp \ - --exclude=tags --exclude=.julia \ + --exclude=tmp \ + --exclude=.cache \ + --exclude=videos/tmp \ + --exclude=tags \ + --exclude=.julia \ + --exclude='.config/surf/cache' \ ~/ "$dest"/home/ad/ diff --git a/.local/bin/backup-usb b/.local/bin/backup-usb @@ -3,6 +3,10 @@ dest=/mnt/backup rsync -ravzhe ssh --delete /etc/ "$dest"/etc/ mount "$dest" rsync -ravzhe ssh --delete --progress \ - --exclude=tmp --exclude=.cache --exclude=videos/tmp \ - --exclude=tags --exclude=.julia \ + --exclude=tmp \ + --exclude=.cache \ + --exclude=videos/tmp \ + --exclude=tags \ + --exclude=.julia \ + --exclude='.config/surf/cache' \ ~/ "$dest"/home/ad/