LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Slackware
User Name
Password
Slackware This Forum is for the discussion of Slackware Linux.

Notices

Reply
 
Search this Thread
Old 10-13-2013, 02:49 AM   #1
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,725

Rep: Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830
KDE equivalent for Thunar's Bulk Rename ?


Hi,

On my Xfce desktop I have a GUI application that's very handy for mass-renaming files: Thunar's Bulk Rename. I'm using it quite often for renaming imported (ahem) music files and the likes, to have consistent naming schemes.

Anyone knows if something similar exists for KDE? (Maybe it's already installed, only I can't find it )

Cheers,

Niki
 
Old 10-13-2013, 03:07 AM   #2
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,040
Blog Entries: 52

Rep: Reputation: Disabled
Haven't noticed anything "built in" for KDE, but have noticed this SlackBuild, krename, that might be suitable.

Last edited by brianL; 10-13-2013 at 03:10 AM.
 
1 members found this post helpful.
Old 10-13-2013, 03:47 AM   #3
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,725

Original Poster
Rep: Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830
Quote:
Originally Posted by brianL View Post
Haven't noticed anything "built in" for KDE, but have noticed this SlackBuild, krename, that might be suitable.
Thanks. I took a look at it, and it doesn't seem very maintained. The screenshots on the project website go back to KDE 3.
 
Old 10-13-2013, 03:53 AM   #4
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,040
Blog Entries: 52

Rep: Reputation: Disabled
Ah, never noticed that. I haven't used it, or needed anything like that yet. Came across it a while back, when I was doing some casual SlackBuild browsing.
 
Old 10-13-2013, 06:48 AM   #5
fskmh
Member
 
Registered: Jun 2002
Location: South Africa
Distribution: Slackware64-current multilib
Posts: 235

Rep: Reputation: 55
I normally add kdiff, krename and then krusader to the collection of KDE stuff that comes with Slack. Users that come from a Windows + Total Commander background seem to like it.

I just rebuilt them all again (with the newer krename-4.0.9) and everything seems fine on -current.
 
Old 10-13-2013, 06:56 AM   #6
piacentini
LQ Newbie
 
Registered: May 2013
Posts: 12

Rep: Reputation: Disabled
Dolphin has limited support for batch renames: select more than one file and the RENAME context menu to see it in action. It is good for simple sequential renames but not as powerful as the other options mentioned here.
 
Old 10-13-2013, 07:00 AM   #7
cascade9
Senior Member
 
Registered: Mar 2011
Location: Brisneyland
Distribution: Debian, aptosid
Posts: 3,718

Rep: Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904Reputation: 904
Quote:
Originally Posted by kikinovak View Post
On my Xfce desktop I have a GUI application that's very handy for mass-renaming files: Thunar's Bulk Rename. I'm using it quite often for renaming imported (ahem) music files and the likes, to have consistent naming schemes.

Anyone knows if something similar exists for KDE? (Maybe it's already installed, only I can't find it )
You could use EasyTag, it can rename files.

Oddly enough, I actually have a 'Rename' option when I right click with dolphin. Maybe I've got some cruft hanging around from when I had Xfce installed....
 
Old 10-13-2013, 07:53 AM   #8
DarkVision
LQ Newbie
 
Registered: Jul 2007
Posts: 27

Rep: Reputation: 1
Quote:
Originally Posted by kikinovak View Post
Thanks. I took a look at it, and it doesn't seem very maintained. The screenshots on the project website go back to KDE 3.
Just a note: krename 4.0.9 is for KDE4.
 
Old 10-13-2013, 08:12 AM   #9
brianL
LQ 5k Club
 
Registered: Jan 2006
Location: Oldham, Lancs, England
Distribution: Slackware & Slackware64 14.1
Posts: 7,040
Blog Entries: 52

Rep: Reputation: Disabled
Quote:
Originally Posted by cascade9 View Post
Oddly enough, I actually have a 'Rename' option when I right click with dolphin. Maybe I've got some cruft hanging around from when I had Xfce installed....
I have too, it's a default option. Don't know if it does mass-renames like Niki wants, though.
 
Old 01-24-2014, 09:26 PM   #10
dals
LQ Newbie
 
Registered: Jan 2014
Location: Sydney, Australia
Distribution: Mint
Posts: 1

Rep: Reputation: Disabled
Looking at the same thing myself - found the alternatives lacklustre at best (some do more complex rename rules than others but haven't found one that does regexps as yet, for instance)

Thunar -B URI1 URI2 etc. will open the bulk renaming window from thunar, I'm now looking into writing a kdeservice menu addon thing for it - the next step would be assigning it a keyboard shortcut (would like to have it fire upon pressing f2 with multiple objects selected, and not with single/no objects selected like it does in thunar, but I doubt I'll end up with that elegant a solution)...

And....back. The below seems to work. I had previously installed the kdeservices menu addon package (via alien as it only comes as an rpm and I'm on mint), and I just copied one of the existing entries in /usr/share/kde4/services/ServiceMenu and fiddled with it. The Actions line tells dolphin which of the below [Desktop Action] sections to use (although in this case there is only one), and the "%U" passes the names of all selected files to thunar -B (need those double quotes around the %U or it only passes the first of the selected files).

I saved the below as /usr/share/kde4/services/ServiceMenu/Thunar-Bulk-Rename_servicemenu.desktop, but whatever name you think suits would do. I imagine that it wouldn't take that much tweaking to get this to work without kdeservicemenus installed (:

[Desktop Entry]
Type=Service
ServiceTypes=KonqPopupMenu/Plugin
MimeType=all/all;
Actions=BulkRename;
X-KDE-StartupNotify=false
X-KDE-Priority=TopLevel

[Desktop Action BulkRename]
Name=Send to Thunar's Bulk Rename
Exec=thunar -B "%U"
Icon=/usr/share/icons/Mint-X/apps/scalable/thunar.svg


The shortcut front isn't looking that good though - forum.kde.org/viewtopic.php?t=95924 suggests that it wouldn't be easy to have (i.e. there are no plans to implement) shortcuts for right click menu items
 
Old 01-24-2014, 10:04 PM   #11
Didier Spaier
Senior Member
 
Registered: Nov 2008
Location: Paris, France
Distribution: Slackware{,64}-{14.1,current} on a Lenovo Thinkpad T61 6457-4XG
Posts: 4,380

Rep: Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088Reputation: 1088
Already approved, rename is expected to be released in next batch from slackbuilds.org. See in git repository this commit.

Last edited by Didier Spaier; 01-24-2014 at 10:12 PM. Reason: Do not propose to download the whole current git repository ;)
 
Old 01-24-2014, 11:39 PM   #12
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,725

Original Poster
Rep: Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830
Well, since I moved back to Xfce as main DE, the problem more or less solved itself. Thunar Bulk Rename it is again.
 
Old 01-25-2014, 03:32 AM   #13
rkelsen
Senior Member
 
Registered: Sep 2004
Distribution: slackware
Posts: 1,768

Rep: Reputation: 204Reputation: 204Reputation: 204
Quote:
Originally Posted by kikinovak View Post
Well, since I moved back to Xfce as main DE, the problem more or less solved itself. Thunar Bulk Rename it is again.
Why does it matter? You can use Thunar Bulk Rename under KDE. It works perfectly fine.
 
Old 01-25-2014, 08:27 AM   #14
gargamel
Senior Member
 
Registered: May 2003
Distribution: Slackware, SLAX, OpenSuSE
Posts: 1,605

Rep: Reputation: 142Reputation: 142
I can't speak for Niki, of course, but I like consistency in the sense that I want to use "native" KDE applications and tools when I use KDE, and Xfce applications and tools under Xfce. Despite all the good efforts of Freedesktop.org and the likes, Qt/KDE programs still do not look (well, sometimes they do...) and feel like Gtk+ or Xfce programs and vice versa.

Another motivation may come into play if you run a business based on setting up and maintaining systems for your clients: If it's possible to get all the desired functionality and comfort in just one desktop environment, this would be the only one that has to be installed and maintained. Reduced effort, more time for new projects and your family, and a better balance of work and life are possible impacts.

gargamel
 
1 members found this post helpful.
Old 01-25-2014, 09:59 AM   #15
kikinovak
Senior Member
 
Registered: Jun 2011
Location: Montpezat (South France)
Distribution: Slackware, Slackware64
Posts: 1,725

Original Poster
Rep: Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830Reputation: 830
Quote:
Originally Posted by gargamel View Post
I can't speak for Niki, of course, but I like consistency in the sense that I want to use "native" KDE applications and tools when I use KDE, and Xfce applications and tools under Xfce.
+1 on that.
 
  


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 Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
bash: bulk rename files jocala Linux - General 6 09-29-2012 05:01 AM
[SOLVED] Bulk file rename not working as expected mago Linux - General 3 06-26-2011 03:30 AM
rename bulk files scofiled83 Programming 11 06-26-2009 10:16 PM
bulk rename files atiman Linux - Newbie 5 03-05-2009 12:42 AM
shell command for bulk 'rename' ashrafulkarim Linux - Newbie 5 12-17-2008 03:46 AM


All times are GMT -5. The time now is 05:15 AM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration