backups: fix timestamp in backup filename (once again...)

This commit is contained in:
Marek Marczykowski-Górecki 2014-02-02 12:17:43 +01:00
parent 312edc6320
commit 39eca94200

View File

@ -3,7 +3,7 @@ read args
echo Arguments: $args
if [ -d "$args" ] ; then
echo "Performing backup to directory $args"
TARGET="$args/qubes-backup-`date +'%Y-%d-%mT%H%M%S'`"
TARGET="$args/qubes-backup-`date +'%Y-%m-%dT%H%M%S'`"
echo "Copying STDIN data to $TARGET"
cat > $TARGET
else