Andes Workshop

It is currently Fri Mar 29, 2024 2:32 am

All times are UTC + 8 hours [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: how to backup bin file name with timestamp
PostPosted: Fri Dec 19, 2014 5:22 pm 
Offline

Joined: Wed Aug 27, 2014 1:00 pm
Posts: 12
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 9038 times ]


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


Top
 Profile Send private message E-mail  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC + 8 hours [ DST ]


Who is online

Users browsing this forum: Google [Bot] and 23 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group