Jun 22
Use rename command which is a quick and powerful tool written in C, featuring extended regular expression support for searching and substituting pattern strings in filenames. Rename can rename, convert to lowercase/uppercase, and change the ownership of a large number of files.
Rename all *.c file as *.cpp:
rename .c .cpp *.c
Rename command is included with all Linux distro, under UNIX / FreeBSD, use ports:
cd /usr/ports/sysutils/rename
make install clean
man rename
Recent Comments