Some times we need to rename multiple files. Renaming multiple files takes more time when we are using regular ways. There is a easy way to rename multiple files.
rename tool is used to rename multiple files. Consider i am having following files
Now, we need to replace | (pipe) to s character. So that,
rename syntax is,
rename tool is used to rename multiple files. Consider i am having following files
Now, we need to replace | (pipe) to s character. So that,
rename syntax is,
rename 's/\oldname/newname/' *
(Note: rename syntax is modified by our requirements)
Now, the pipe can be replaced by s character.