backups: fix backup timestamp
This commit is contained in:
parent
361ab0b266
commit
2b80dfef17
@ -3,7 +3,7 @@ read args
|
|||||||
echo Arguments: $args
|
echo Arguments: $args
|
||||||
if [ -d "$args" ] ; then
|
if [ -d "$args" ] ; then
|
||||||
echo "Performing backup to directory $args"
|
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"
|
echo "Copying STDIN data to $TARGET"
|
||||||
cat > $TARGET
|
cat > $TARGET
|
||||||
else
|
else
|
||||||
|
Loading…
Reference in New Issue
Block a user