LinuxQuestions.org
Download your favorite Linux distribution at LQ ISO.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-28-2006, 09:10 PM   #1
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Rep: Reputation: 30
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!
 
Old 11-29-2006, 01:21 AM   #2
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
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.
 
Old 11-29-2006, 01:24 AM   #3
blueCow
Member
 
Registered: Feb 2004
Location: Florida
Distribution: FreeBSD, CentOS, Debian, Mint
Posts: 111

Rep: Reputation: 17
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
 
Old 11-29-2006, 08:42 AM   #4
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Original Poster
Rep: Reputation: 30
I'll try krename once. Bluecow, yes that's what I'm trying to do.
 
Old 11-29-2006, 08:52 AM   #5
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Original Poster
Rep: Reputation: 30
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).
 
Old 11-29-2006, 09:10 AM   #6
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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".
 
Old 11-29-2006, 09:11 AM   #7
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
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?
 
Old 11-29-2006, 09:55 AM   #8
David the H.
Bash Guru
 
Registered: Jun 2004
Location: Osaka, Japan
Distribution: Debian + kde 4 / 5
Posts: 6,848

Rep: Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012Reputation: 2012
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
 
Old 11-29-2006, 09:58 AM   #9
matthewg42
Senior Member
 
Registered: Oct 2003
Location: UK
Distribution: Kubuntu 12.10 (using awesome wm though)
Posts: 3,530

Rep: Reputation: 65
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.
 
Old 11-29-2006, 10:20 AM   #10
RodWC
Member
 
Registered: Oct 2005
Distribution: SolydK, Linux Mint KDE, Debian
Posts: 180

Original Poster
Rep: Reputation: 30
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.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
renaming multiple files linuxhippy Slackware 10 01-21-2011 02:53 AM
renaming multiple files in general kkatebian Linux - General 5 11-06-2005 12:05 PM
Need help with shell script - renaming multiple files NiallC Linux - Newbie 25 07-04-2004 11:45 AM
Renaming multiple files with the same format Shr00mBoXx Slackware 7 06-20-2004 08:22 PM
Solution: renaming multiple files with spaces HawkeyeCoug Linux - Newbie 0 03-26-2004 11:57 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 01:55 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration