/ Published in: Bash
Expand |
Embed | Plain Text
mv filename "`date +%Y%m%d_%H`_filename"
Comments
Subscribe to comments
You need to login to post a comment.
theonlyalterego on 08/14/08
1 person have marked this snippet as a favorite
mv filename "`date +%Y%m%d_%H`_filename"
Subscribe to comments
You need to login to post a comment.
mv test.txt "
date +%Y.%m.%d-%H.%M.%S_test.txt"