Wednesday, February 24, 2010

Change underscores in filenames to dots on a whole directory

Change underscores in filenames to dots on a whole directory:

for i in *;do mv $i `echo $i | sed -e 's/_/./g'`; done

No comments: