LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (https://www.linuxquestions.org/questions/linux-general-1/)
-   -   Konqueror - Renaming multiple files simultaneously (https://www.linuxquestions.org/questions/linux-general-1/konqueror-renaming-multiple-files-simultaneously-505722/)

RodWC 11-28-2006 08:10 PM

Konqueror - Renaming multiple files simultaneously
 
Hello everyone. I work with a lot of digital photos and was just wondering if there is a way to possibly rename multiple files at once in Konqueror. I can't seem to find a setting or plugin to allow this, and I would hate to have to use a second file manager.

I hope this is the right place for this.

Thanks!

David the H. 11-29-2006 12:21 AM

Install krename. I believe it will integrate with konqueror automatically. It takes a little learning, but it's really pretty easy to use.

And of course there are lots of ways to rename multiple files using cli. They can be even faster and easier once you learn how. It's a question that pops up here regularly. Check out the bottom of this page, for example.

blueCow 11-29-2006 12:24 AM

Give me an example of what you are trying to do and I will give you a solution.

are you trying to do something like:

original filenames
============
DSC-001543.jpg
DSC-001544.jpg
DSC-001545.jpg

and you want to do something along the lines of:

new filenames:
=========
day_at_the_park_01.jpg
day_at_the_park_02.jpg
day_at_the_park_03.jpg

RodWC 11-29-2006 07:42 AM

I'll try krename once. Bluecow, yes that's what I'm trying to do.

RodWC 11-29-2006 07:52 AM

Another thing that would be nice is to be able to arrange the pictures according to the date they were taken on, rather than just the date they were "modified" (or copied from one location to the other).

matthewg42 11-29-2006 08:10 AM

You can probably extract this information from the EXIF tags, but I don't know if krename can process that. I noticed that krename does have some sort of plugin mechanism, so it might be possible to add that, however, I'd be more included to write a shell script to do it.

By the way, I'd recommend you try out kimdaba (recently renamed KDE Photo Album). This is a tags database app which lets you leave your image files in whatever directory structure you like, but find them using tags. Tagging up a large pre-existing album of pictures takes a while, but it's well worth it to be able to find images based on criteria like "photos containing me and Bob Dobbs, taken in Holland".

David the H. 11-29-2006 08:11 AM

Yes, that would be nice, but it's a bit harder to do. You have to extract the date from the .exif headers of each photo first. I've been wanting to write a script that does that and sorts the photos into date-named folders, but I'm not good enough at scripting yet to do so. I've got to study up on it first.

Unless someone knows of a script or program that can do this already?

David the H. 11-29-2006 08:55 AM

I did some looking around and I just ran across this bash script for renaming photos based on the exif creation date. I haven't tried it out yet--I want to study it and see if it can, or can be easily modified, to sort into directories--but it looks pretty good otherwise.

If you want to try it out, let us know how it works.

http://idea.zanestate.edu/wordpress/images/renamer.txt

matthewg42 11-29-2006 08:58 AM

Actually, I just found that krename already has an exif plugin. However, it's not installed with exif on Ubuntu for some reason. I suspect Ubuntu us just using the debian build, so I expect you'll have the same problem. I'm not sure how you could get hold of it without downloading the source and building it yourself - I think that's your best shot.

RodWC 11-29-2006 09:20 AM

Hopefully Konqueror will have all of this functionality eventually. IMO it's a very important feature that an otherwise superior file manager does not have that explorer does.


All times are GMT -5. The time now is 03:07 PM.