PrefixSuffix – Gui application that renames batches of files in Ubuntu
Sponsored Link
Install prefixsuffix in Ubuntu
sudo aptitude install prefixsuffix
This will complete the installation
Using prefixsuffix
If you want to open prefixsuffix goto Applications--->Accessories--->PrefixSuffix
Once it opens you should see similar to the following screen
In the above screen select your prefix or suffix and folder location click on rename files
Useful Tip
create a new bash-script with the following command line in your Nautilus scripts home (~/.gnome2/nautilus-scripts/)
#!/bin/sh
prefixsuffix $@
then save it to Rename.sh and chmod it to 700.
Now you can to batch rename from Nautilus at current prompt position.
This is a scenario where a bash script is much more capable. Maybe you should post some useful batch renaming scripts…
For the KDE environment, there is KRename which is a much more powerful renamer.
I use GPRename 2.5 [A complete batch renamer for files and directories.] which is quite good actually…
Don’t forget the rename command. Perl-based, regexp support, very flexible and powerful.
From the mangape:
For example, to rename all files matching “*.bak” to strip the extension, you might say
rename ‘s/\.bak$//’ *.bak
To translate uppercase names to lower, you’d use
rename ‘y/A-Z/a-z/’ *
I’m trying to figure out how to wildcard rename the prefix. I want to rename everything in the directory with the person’s (they’re pictures) first name possibly followed by a number.
Is there a wildcard that will work with this application?
Nice app, more of this easy-to-use needed for common tasks in every day computing. Thanks for pointing it out.
I also use KRename, but on Gnome, it works very well.
I am impressed by the use of bash by thomas, the bash constructs are very powerful and simple, but its made useless by using it less,
Though i appreiate the effort for making a GUI application, i just needed to highlight the usage of bash, The comment have no offence towards the GUI application
With bash:
for a in *oldsuffix; do mv $a ${a%oldsuffix}newsuffix; done
and you can use “#” (instead of “%”) for prefix substitution.
With zsh it’s more readable: mv $a ${a:s/oldsuffix/newsuffix}
But what beats them all is Emacs dired write mode (wdired-change-to-wdired-mode)… (^__^)
Metamorphose is much more advanced than prefixsuffix.
I would recommend using KRename for doing this. Yes, its a KDE app – but it has a lot more options when compared to this.
metmorphose its avery improved and very advance thanprefixsuffix
KRename is great. But if you’re on Gnome, you’re gonna have to install 267MB of KDE stuff to run it. (Unless you’ve previously installed a KDE program) Not too big a deal these days, but a fair warning.