[Gllug] Mass renaming of files

Pete Ryland pdr at pdr.cx
Fri May 9 00:46:54 UTC 2003


On Thu, May 08, 2003 at 11:56:19AM +0100, Martin A. Brooks wrote:
> On Thu, 2003-05-08 at 11:46, Matthew King wrote:
> > $ mmv '*:*' '#1-#2'
> > 
> > Though you will have to find and install mmv.
> 
> postel:~# apt-get install mmv
> Reading Package Lists... Done
> Building Dependency Tree... Done
> The following NEW packages will be installed:
>   mmv
> 0 packages upgraded, 1 newly installed, 0 to remove and 0  not upgraded.
> Need to get 23.0kB of archives. After unpacking 48.1kB will be used.

The 'rename' command (which comes with perl) is good for this too.

-- 
pdr    - Pete Ryland              - http://pdr.cx/info/about/
xmldb  - FAST 3-tier app server   - http://pdr.cx/projects/xmldb/
GNetMD - suite of tools for NetMD - http://pdr.cx/projects/gnetmd/


-- 
Gllug mailing list  -  Gllug at linux.co.uk
http://list.ftech.net/mailman/listinfo/gllug




More information about the GLLUG mailing list