=================================================================== RCS file: /cvs/openbsd/backup_config/backup_config,v retrieving revision 1.10 retrieving revision 1.11 diff -u -r1.10 -r1.11 --- openbsd/backup_config/backup_config 2009/11/05 23:26:34 1.10 +++ openbsd/backup_config/backup_config 2009/11/17 16:48:14 1.11 @@ -1,5 +1,5 @@ #!/bin/sh -# $RedRiver: backup_config,v 1.9 2009/10/26 19:40:33 andrew Exp $ +# $RedRiver: backup_config,v 1.10 2009/11/05 23:26:34 andrew Exp $ if [ `id -u` -ne 0 ]; then echo You should run this as root! >&2 @@ -27,7 +27,7 @@ echo Not backing up /home, too large! fi -tar czf ${FILE} $_list +find $_list -type f -or -type l | sed -e 's/^\///' | tar -czf ${FILE} -C / -I - echo backed up $_list to echo "\t$FILE"