backup sdcard script: fix for wrong month number

This commit is contained in:
Cyryl Plotnicki-Chudyk 2014-10-25 12:31:25 +02:00
parent 3d800fe23c
commit 0d0e32dd54

View file

@ -7,7 +7,7 @@ fi
device=$1
timestamp=`date +%Y%M%d`
timestamp=`date +%Y%m%d`
dest_file="/tmp/$timestamp.dd.xz"
echo "about to clone $device to $dest_file"