diemsg "Could not run $computer:/root/.backup/preexec"
fi
-for filesystem in $filesystems
-do
+for filesystem in $filesystems; do
# Remove / and $ (for Windows) for path names
sfilesystem=`echo $filesystem | tr '\/\$' '__'`
fi
# Delete old full backups
- for full in `ls -1t $storagedir/$computer/$sfilesystem/full/*tgz | tail -n +$mf`
- do
+ for full in `ls -1t $storagedir/$computer/$sfilesystem/full/*tgz | tail -n +$mf`; do
prefix=`echo $full | sed "s/\.[^.]*$//"`
echo `date`": $computer:$filesystem Deleting full backup $prefix" >&2
rm $prefix*