aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorElijah Saxon <elijah@riseup.net>2008-02-19 20:37:39 +0000
committerElijah Saxon <elijah@riseup.net>2008-02-19 20:37:39 +0000
commit72df77b2103145df5bb3b1d72f23a27ff41f9db6 (patch)
treef77cbc82a9e66f87f57d0c09c98368bdc04a1e83
parent2a61e873bc0d68843ad30c1b89b6e14f6ca79ea8 (diff)
downloadbackupninja-72df77b2103145df5bb3b1d72f23a27ff41f9db6.tar.gz
backupninja-72df77b2103145df5bb3b1d72f23a27ff41f9db6.tar.bz2
change the date format for the deleted timestamp
-rw-r--r--handlers/maildir.in2
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