Andes Workshop
http://forum.andestech.com/

how to backup bin file name with timestamp
http://forum.andestech.com/viewtopic.php?f=23&t=907
Page 1 of 1

Author:  maolj [ Fri Dec 19, 2014 5:22 pm ]
Post subject:  how to backup bin file name with timestamp

sometimes we need backup bin file, we can achieve it as following steps:
1: copy following text string(include the first semicolon) to the end of Command line pattern :
; echo "time now :" ; date +%Y%m%d%H%M; cp ${OUTPUT} ${OUTPUT}-`date +%Y%m%d-%H%M`.bin

settings on objcopy
Attachment:
objcopy.png
objcopy.png [ 79.61 KiB | Viewed 9029 times ]


2: after build, output will like:
Attachment:
output.png
output.png [ 100.87 KiB | Viewed 9029 times ]

Page 1 of 1 All times are UTC + 8 hours [ DST ]
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group
http://www.phpbb.com/