Topics:
DVR
nvrec
Mplayer
Links
Misc
Commands
Humor
New user
uploaded files
|
(linux_command_line)-> (Parent)->rename - prefix |
submited by Anonymous Fri 19 Mar 10 Edited Wed 24 Mar 10 |
to prefix all files 01.jpg .. 03.jpg with cherry
rename -n 's/^/cherry/' *.jpg
01.jpg renamed as cherry01.jpg
02.jpg renamed as cherry02.jpg
03.jpg renamed as cherry03.jpg
remove the -n "no act" flag to perform the rename for real.
******NOTE****** (Comment from Russell )
This only works for the perl version of rename
(See parent post)
***************
|
Add comment or question...:
|