From b75f9101403ba36f0b68f94334984d74519b3676 Mon Sep 17 00:00:00 2001 From: elijah Date: Tue, 19 Feb 2008 20:37:39 +0000 Subject: [PATCH] change the date format for the deleted timestamp git-svn-id: http://code.autistici.org/svn/backupninja/trunk@557 758a04ac-41e6-0310-8a23-8373a73cc35d --- handlers/maildir.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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 -- 2.30.2