mrename - A tool for easy and automatic renaming of many files
View original post
Mass Rename is a simple pair of shell scripts which make it easier to move, rename, or copy multiple files at once. It is intended mainly as an automatic and simple way to rename multiple files with a customizable prefix and a progressive number. It is also possible to modify the rename format simply by editing one of the scripts. It is easy, complete, and efficient, and was written only in sh code.
sudo aptitude install mrename
This will complete the installation
Using mrename
Syntax
mrename pattern prefix [option]
mrename Examples
If you have a directory with two jpeg images prof.jpg and forp.jpg and you want to add them a prefix like item0, item1 etc.. (that is item0prof.jpg, item1forp.jpg etc..) do this:
cd /path/to/the/images
to copy each matching file into another with the new name
mrename *.jpg item -c
to rename each file without keeping a copy with the previous name
mrename *.jpg item -m
mrename Options
There are only the following three options.
-c The option -c will copy each file with the new filename.
-m The option -m will move each file in the new filename.
-h Display help.
Tags: General, install mrename ubuntu, mrename examples, mrename options, mrename syntax, mrename ubuntu, rename multiple files ubuntuGeneral, install mrename ubuntu, mrename examples, mrename options, mrename syntax, mrename ubuntu, rename multiple files ubuntu
©2008 Ubuntu Geek. All Rights Reserved.
.
—
Related Articles at Ubuntu Geek:
Filed under Ubuntu | Comment (0)
Rescuing Collectible Sun Equipment with Debian Linux
View original post
A while back, we bought a Sun Ultra 5 workstation with a winning bid of about $20.00 or so. It has a 360 MHz SPARC processor, 128 Meg of RAM, and an eight gigabyte harddrive.
View source postFiled under Debian | Comment (0)