From: root Date: Fri, 10 Nov 2000 17:21:51 +0000 (+0000) Subject: *** empty log message *** X-Git-Url: https://git.sesse.net/?a=commitdiff_plain;h=279b546e27c9f373710d2b75f4805acabd38f296;p=backup.sh *** empty log message *** --- diff --git a/backup.sh b/backup.sh index 1554628..ecf9819 100755 --- a/backup.sh +++ b/backup.sh @@ -32,7 +32,6 @@ umask 027 # The computers we want to back up unixcomputers=`cat $confdir/computers.unix` -#ntcomputers=`cat $confdir/computers.nt` ### #disse bør kunne varieres fra fs til fs? @@ -170,6 +169,7 @@ do oldf=`ls -t1 $storagedir/$computer/$sfilesystem/full/*tgz | tail -1` find \ $storagedir/$computer/$sfilesystem/daglig \ + -type f \ \! -newer $oldf \ -exec rm {} \; #denne funker bare med gnu find