]> git.sesse.net Git - backup.sh/commitdiff
*** empty log message ***
authorroot <empty>
Fri, 10 Nov 2000 17:21:51 +0000 (17:21 +0000)
committerroot <empty>
Fri, 10 Nov 2000 17:21:51 +0000 (17:21 +0000)
backup.sh

index 15546283ad878122be657428d62cf08adc61fb54..ecf9819eab0251cba06d14e722a26963893a0cd1 100755 (executable)
--- 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