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 a shell in operating system?
How can I set the default rwx permission to all users on every file which is created in the current shell?
How to get the 3rd element/column from each line from a file?
What command needs to be used to take the backup?
What is the first line of a shell script called?
What language is bash written in?
How do I run a powershell script?
c program to display the information of given file similar to givan by the unix or linux command ls -l
How do I run a .sh file on mac?
What is shell and shell script?
Is cmd a shell?
How do I run a bin bash script?
What are "c" and "b" permission fields of a file?
What is wc in shell script?
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.