I think I found a bug in the mv command.
Here's the scenario:
I have the following in a bash script that is run as a root cronjob:
--- begin bash script code, contents of myuserbackup.sh ---
#!/bin/bash
# this bash script is intended to be run as a cronjob for root
# line 1 - backup the entire
Ian MacGregor [EMAIL PROTECTED] wrote:
I think I found a bug in the mv command.
...
When I change line #9 in the bash script from
mv /home/storage/backup.tar.gz /home/storage/`date +%Y%m%d-%k%M`-backup.tar.gz
to
mv /home/storage/backup.tar.gz /home/storage/`date +%Y%m%d-%I%M`-backup.tar.gz