terminal - Batch renaming of files with a modified timestamp on Linux -


as part of personal project have generated large number of frames.

i want rename around 6000 png image files in terminal within name have time frame represents.

e.g

frame_0001.png frame_ddmmyy_hhmmss.png

frame_0001.png frame_201114_134612.png frame_0002.png frame_201114_134613.png , on...

the first frame starts @ 13:46:12 on 20th november 2014. want rest of images renamed sequentially named after date , time represent.

any appreciated.

with perl's (p)rename :

rename -n "s/\d+/$(date +%d%m%y_%h%m%s)/" frame_0001.png 

Comments

Popular posts from this blog

python - mat is not a numerical tuple : openCV error -

c# - MSAA finds controls UI Automation doesn't -

wordpress - .htaccess: RewriteRule: bad flag delimiters -