Return to Snippet

Revision: 62040
at January 30, 2013 02:37 by lafayette


Initial Code
find . -type f -name '*.cpp' | while read filename; do mv -v "${filename}" "`echo "${filename}" | sed -e 's/\.cpp$/\.c/'`"; done

Initial URL

                                

Initial Description
rename all files in subdirectories from .cpp to .c

Initial Title
batch rename in subdirectories

Initial Tags

                                

Initial Language
Bash