Linux / UNIX Tech Support Forum
This is a discussion on Rename multiple files in UNIX within the Getting started tutorials forums, part of the Linux Getting Started category; Use rename command which is a quick and powerful tool written in C, featuring extended regular expression support for searching ...
|
|||||||
| Getting started tutorials So much to read, so little time! If that is your problem, we have solution. Read our FAQ and tutorials to help you cut through the clutter of information overload. Only members of "contributors" group can post new tutorials. Other members can just reply to thread. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
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: Code:
rename .c .cpp *.c Code:
cd /usr/ports/sysutils/rename make install clean Code:
man rename |
| Sponsored Links | ||
|
|
![]() |
| Tags |
| freebsd , freebsd ports , make , rename |
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
|
| Thread Tools | |
| Display Modes | |
|
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| script to rm files on multiple servers | steve_f60 | Shell scripting | 1 | 06-21-2008 10:29 PM |
| UNIX Display or list number of files in a current directory | raj | Getting started tutorials | 1 | 12-07-2007 10:55 AM |
| how to change the format of multiple files in different directories | dustcloud4 | Shell scripting | 0 | 06-05-2007 03:03 AM |
| shell script that parses multiple log files and checks for a | Anonymous | Shell scripting | 1 | 11-15-2006 09:38 PM |
| UNIX ls only directories (display only dirs and no files) | chiku | Solaris/OpenSolaris | 1 | 10-21-2006 12:27 AM |