Friday, February 07, 2014

Change file extension for a batch of files

for files in *.txt
do
 mv "$files" "${files%.txt}.csv"
done

No comments: