How can I rename all *.txt in a directory to *.csv files in the terminal (Mavericks). I tried following inside the directory:
mv *.txt *.csv
bashterminal
How can I rename all *.txt in a directory to *.csv files in the terminal (Mavericks). I tried following inside the directory:
mv *.txt *.csv
Best Answer
You need to loop over all files
If you have files with names starting with a
.
as well you might need to run