backups: fix backup timestamp

This commit is contained in:
Marek Marczykowski-Górecki 2014-01-13 05:08:05 +01:00
parent 361ab0b266
commit 2b80dfef17

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-%d-%H%M%S'`"
TARGET="$args/qubes-backup-`date +'%Y-%d-%m-%H%M%S'`"
echo "Copying STDIN data to $TARGET"
cat > $TARGET
else