[Original thread: https://oldforum.puppylinux.com/viewtopic.php?t=101154]
MultiRename is a batch file renamer packaged as a ROX right-click app.
Requires Gtkdialog >= 0.8.3.
German translation by L18L.
Greetings!
Moderator: Forum moderators
[Original thread: https://oldforum.puppylinux.com/viewtopic.php?t=101154]
MultiRename is a batch file renamer packaged as a ROX right-click app.
Requires Gtkdialog >= 0.8.3.
German translation by L18L.
Greetings!
Changelog
Version 1.12:
- added "Capitalize" action
- added "Select directory" button, next to path entry field
- added "Enable pattern matching" checkbox to the Replace action (simple Bash pattern matching)
- better sorting when hidden files are enabled
- fixed status bar not refreshing after pressing Enter in path entry field
- some other minor fixes and improvements
Version 1.11:
- Gtkdialog (GTK+3): show folder and file icons in TreeView, just like in GTK+2
- Gtkdialog (GTK+3): make the 'Actions' vbox scrollable, otherwise the entire window is too tall
- Filter: escape '\ * ? [ ]' chars to make literal matching easier
- Filter: add 'Regex' checkbox (find's egrep regextype)
- TreeView: add an empty, narrow column to separate "Old Name" and "New Name" columns better
Version 1.10:
- added an option to replace only the first occurence in the Replace action
- bugfix: quote strings in the Replace action to prevent expanding them by Bash
Version 1.9:
- added an option to show only folders or files
- added a simple filter (based on find's -name/-iname)
- added an option to ignore extensions for folders
- the "New Name" column now also shows filenames that haven't changed (for consistency & aesthetics)
- a slightly faster Preview (req. Bash >= 4.3)
- fixed renaming items with basename = extension (e.g. foo.foo)
- small fixes and improvements
Important tool for me as well! I use mostly a Puppy Linux Bionic64-CE (built directly with woof-CE) to build KLV and WDL distro's and batch file renaming is a very handy tool to have.
Good work!
@JakeSFR Do you think this can work on KLV-Airedale ??
Oh, it's good to know I'm not the only one who's still using it. Thanks guys!
___________
I just tried the script alone (from terminal) in QEmu and, at least on the first glance, it seems to work ok.
Btw, thanks for fixing the URL.
Greetings!
@JakeSFR
Actually there was only part of the path that was missing!
https://murga-linux.com/viewtopic.php?t=101154
will FAIL because the structure John M. used on the original web server placed the web root in https://murga-linux.com/puppy
. So adding back in the missing directory to the path ->https://murga-linux/puppy/viewtopic.php?t=101154
will fix it.
example : https://murga-linux.com/puppy/viewtopic.php?t=101154
If you run across the same type of URL, you could insert /puppy/
into the path and it should work
Updated to v1.11. Changelog in the second post.
Greetings!
Thank you
I admit that I haven't used it in a long time and therefore couldn't figure out how to change the source folder
I added the new folder path into the entry box and expected that the Refresh button would populate the tree with the files of that folder, but it always reverted to the folder I just erased from the box. Only after checking your script I discovered that I should have pressed Enter instead of using the Refresh button.
Since I'll probably do the same mistake next time I changed the button from
Code: Select all
<button tooltip-text="'$(gettext "Re-read current directory")'">
<input file stock="gtk-refresh"></input>
<action>func_readdir "$(cat $WORKDIR/curdir)"</action>
<action>refresh:varLIST</action>
<action>refresh:varCURDIR</action>
<action>refresh:varSTATUS</action>
<action>disable:varCOMMIT</action>
</button>
to
Code: Select all
<button tooltip-text="'$(gettext "Re-read current directory")'">
<input file stock="gtk-refresh"></input>
<action>activate:varCURDIR</action>
</button>
So far seems to work as I expected. Hope I didn't break anything
Hey Mochi,
No, it shouldn't break anything, it just redefines what is considered to be a current directory.
But I just noticed that the entry field is missing one action:
Code: Select all
<action signal="activate">refresh:varSTATUS</action>
so if you have, for example, some items highlighted and then change the dir using that field + Enter, the status bar won't refresh (I'll fix it in next version).
Anyway, the entry field was meant only for informational purposes - I had made it functional just in case.
As for changing the folder, I hope that in the past you were aware that you can just double-click any folder, like in gFnRename?
Or, <tab> your way to the list and then use cursor keys and Enter.
Greetings!
Updated to v1.12. Changelog in the second post.
Greetings!