From: mwolson_admin Date: Sat, 13 Oct 2007 14:43:57 +0000 (-0400) Subject: hcoop-backup: Take care of some files that don't need to be backed up X-Git-Url: http://git.hcoop.net/clinton/scripts.git/commitdiff_plain/06a8c022d65c3ee3cf706a001bb1dc49b3280417 hcoop-backup: Take care of some files that don't need to be backed up - Escape a couple or periods - Move /usr/lib/locale/locale-archive to the not-backed-up part - Add gconv and vim cruft to the not-backed-up part --- diff --git a/hcoop-backup b/hcoop-backup index 40cd6cc..f8948f5 100755 --- a/hcoop-backup +++ b/hcoop-backup @@ -54,10 +54,13 @@ diff allfiles debfiles | grep '^<' | cut -b 3- | \ grep -v ^/usr/src | \ grep -v '^/usr/.*pyc' | \ grep -v '^/usr/.*elc' | \ + grep -v '^/usr/lib/gconv/gconv-modules\.cache$' | \ + grep -v '^/usr/lib/locale/locale-archive$' | \ grep -v '^/usr/share/info/dir$' | \ - grep -v '^/usr/share/info/dir.old$' | \ + grep -v '^/usr/share/info/dir\.old$' | \ grep -v '^/usr/share/emacs21/site-lisp/' | \ grep -v '^/usr/share/emacs22/site-lisp/' | \ + grep -v '^/usr/share/vim/addons/doc/tags$' | \ cat > backupfiles cat conffiles >> backupfiles @@ -71,7 +74,6 @@ cat backupfiles | \ grep -v ^/var/lib/python-support | \ grep -v ^/usr/share/man | \ grep -v ^/media | \ - grep -v ^/usr/lib/locale/locale-archive | \ grep -v ^/vmlinuz | \ grep -v ^/vmlinuz.old | \ grep -v '^/sbin/[a-z\-]*.modutils$' | \