From: Elijah Saxon Date: Tue, 19 Feb 2008 20:37:39 +0000 (+0000) Subject: change the date format for the deleted timestamp X-Git-Tag: backupninja-0.9.6~40 X-Git-Url: https://git.stderr.nl/gitweb?a=commitdiff_plain;h=72df77b2103145df5bb3b1d72f23a27ff41f9db6;p=matthijs%2Fupstream%2Fbackupninja.git change the date format for the deleted timestamp --- diff --git a/handlers/maildir.in b/handlers/maildir.in index 5922d1e..7f2fba7 100644 --- a/handlers/maildir.in +++ b/handlers/maildir.in @@ -118,7 +118,7 @@ function do_remove() { [ "$deluser" != "" ] || continue info "removing $destuser@$desthost:$destdir/$i/$deluser/" ssh -p $destport $destuser@$desthost mv "$destdir/$i/$deluser/" "$destdir/deleted" - ssh -p $destport $destuser@$desthost "date > '$destdir/$i/$deluser/deleted_on'" + ssh -p $destport $destuser@$desthost "date +%c%n%s > '$destdir/$i/$deluser/deleted_on'" done done rm $tmp1