[SOLVED] KDE equivalent for Thunar's Bulk Rename ?
SlackwareThis Forum is for the discussion of Slackware Linux.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 )
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.
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.
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.
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....
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.
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 (:
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
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.