改後綴io
for files in `ls *`; do mv ${files} ${files}.bak; donesed
改後綴file
rename .bak .bak2 *di
去除後綴co
for files in `ls *`; do mv $files `echo $files |sed 's/\.bak//'`; donedisplay