diff options
author | Elijah Saxon <elijah@riseup.net> | 2008-02-19 20:37:39 +0000 |
---|---|---|
committer | Elijah Saxon <elijah@riseup.net> | 2008-02-19 20:37:39 +0000 |
commit | 72df77b2103145df5bb3b1d72f23a27ff41f9db6 (patch) | |
tree | f77cbc82a9e66f87f57d0c09c98368bdc04a1e83 /handlers | |
parent | 2a61e873bc0d68843ad30c1b89b6e14f6ca79ea8 (diff) | |
download | backupninja-72df77b2103145df5bb3b1d72f23a27ff41f9db6.tar.gz backupninja-72df77b2103145df5bb3b1d72f23a27ff41f9db6.tar.bz2 |
change the date format for the deleted timestamp
Diffstat (limited to 'handlers')
-rw-r--r-- | handlers/maildir.in | 2 |
1 files changed, 1 insertions, 1 deletions
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 |