]> git.sesse.net Git - backup.sh/blobdiff - backup-altersex.sh
Take backup at lowest possible (non-idle) CPU priority, and idle I/O priority.
[backup.sh] / backup-altersex.sh
index bed53c7bcc9e9f97303f35b83bfaac73ed70167a..6ab6fd6c409d70a46166a6d2c89e92b3dbd86bf5 100755 (executable)
@@ -35,7 +35,7 @@ fi
 tar tvvf $NAME.tar > $NAME.idx
 
 #make a sortet filelist
-grep -v ^d $NAME.idx | sort -n -r +2  > $NAME.sdx
+grep -v ^d $NAME.idx | sort -n -r -k 2  > $NAME.sdx
 
 #fix perm
 chmod 600 *tar                      #only for us