Changing the extension of large number of files
I want to change extension of large number of files,
Example: "ABC.dat.length.doc.fasta"
Desired: ABC.mat
solutions for this is:
ls -1 *.dat.length.doc.fasta | nawk '{p=$0;gsub("dat.length.doc.fasta","mat");system("mv "p" "$0); }'
.png)







I am a software programmer working in India. I usually like to blog in my free time.
0 comments: