backups: change data/time delimiter in filename according to ISO 8601
This commit is contained in:
parent
2b80dfef17
commit
66ef7696ac
@ -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-%m-%H%M%S'`"
|
||||
TARGET="$args/qubes-backup-`date +'%Y-%d-%mT%H%M%S'`"
|
||||
echo "Copying STDIN data to $TARGET"
|
||||
cat > $TARGET
|
||||
else
|
||||
|
Loading…
Reference in New Issue
Block a user