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
How do I run a powershell script?
Given a file find the count of lines containing the word "abc".
What is scripting autism?
What are the various stages of a linux process it passes through?
Using set -A write a script to print the output of the ls command in 5 columns with two spaces between each column. Pretend that ls does not have multicolumn output.
How to get the first line from a file using just the terminal?
What are different types of shell?
What is the use of break command?
How can I send a mail with a compressed file as an attachment?
How does shell scripting work?
What is an sh file?
What is a shell environment?
What is the syntax of while loop in shell scripting?
What makes c shell a more preferable option than the bourne shell?
What happens when you type ls?