Linux rename file names

Just use the for loop: (rename txt file to csv file)


for j in *.txt; do mv -v "${j}" "${j%.txt}.csv"; done

Written on August 28, 2018