How to rename all the files in a folder having specific
extension?
Example: I have some files with extension (.txt) in a folder
name 'Test'. I have to rename all the .txt files in a test
and its subdirectories to .my extension.
Answer Posted / bindu
its very simple
try this out
rename .txt .my *.txt
all the files with .txt extension will be converted into .my
| Is This Answer Correct ? | 0 Yes | 2 No |
Post New Answer View All Answers
What is bash eval?
What are the different types of commonly used shells on a typical linux system?
How to use arguments in a script?
What is scripting used for?
What is shell and terminal?
What is an inode block?
Print the 10th line without using tail and head command.
Where are cowrie shells found?
Is shell and terminal the same?
What is shell chemistry?
What is shell variable?
How to get the 3rd element/column from each line from a file?
What is the syntax of "nested if statement" in shell scripting?
How do I start a shell script?
How to get the last line from a file using just the terminal?