Autocommit of all changes since last autosync startup on host ares
authorJulien Valroff <julien@kirya.net>
Sun, 18 Mar 2012 15:18:53 +0000 (16:18 +0100)
committerJulien Valroff <julien@kirya.net>
Sun, 18 Mar 2012 15:18:53 +0000 (16:18 +0100)
autosync-xdg-launcher.sh

index 09ee582..b429f6d 100755 (executable)
@@ -6,7 +6,7 @@ data=${XDG_DATA_HOME:-$HOME/.local/share}/autosync
 mkdir -p $data/{log,pid}
 
 # Automatically delete logs older than 5 days
-find $data/log/ -name '*.log' -ctime 5 -delete
+find $data/log/ -name '*.log' -ctime +5 -delete
 
 # Only starts configuration files ending with .conf
 # which makes it easy to disable some