Multiple File Rename (Feature Request)

For any suggestion or feature request you may have, or simply to share your opinion about muCommander.

Multiple File Rename (Feature Request)

Postby durchgedreht » Mon Jan 22, 2007 12:01 pm

I often rename many files and it has been very handy to use a tool that allows renaming of multiple files at once. The Windows Norton Clone Speedcommander features such a rename and is quite powerful. Even a very small interface would be ok:

-use placeholder for filename and extension (e.g. %f and %e)
-one textbox for filename - change and one for extension change (extension will be changed only in rare cases, so the name textbox can be used better)
-adding text using the placeholders (e.g. "test_[%f]" will add the prefix "test_")
-a find and replace function would be nice
-a counter variable (photos could renamed like "photo_[count,1,3]") - starting at 1 with 3 digits (e.g. resulting in photo_001, photo_002, ...)

Thanks!
durchgedreht
 
Posts: 15
Joined: Fri Jan 19, 2007 3:13 pm

Postby Nicolas » Mon Jan 22, 2007 12:30 pm

Not a bad idea at all. I'll discuss this with Maxence, see what we can come up with. I'm afraid our plate is currently quite full though, so I don't think it'll make it into the code for a while - at least probably not for the official 0.8 beta 3. I'll keep you posted!

Nicolas
User avatar
Nicolas
 
Posts: 804
Joined: Mon Oct 02, 2006 10:36 pm
Location: France

Re: Multiple File Rename (Feature Request)

Postby ifezs001 » Sat Apr 26, 2008 8:27 am

It could be great if you can implement it.

See also in the viewtopic.php?f=2&t=717&p=2353#p2353 post
ifezs001
 
Posts: 11
Joined: Thu Oct 25, 2007 2:37 pm

Re: Multiple File Rename (Feature Request)

Postby thinw002 » Thu May 08, 2008 2:40 am

I just downloaded muCommander this week and like what I've seen so far. I would like to add my support for the requested multi-rename feature. I've used another program with multi-renaming for this feature alone. specifically the multi-rename could provide:

  • Replace (basic find and replace text with case sensitive and replace all options)
  • Case (Sentance case, lowercase, UPPERCASE, Title Case, tOGGLE cASE)
  • Re-Number (start, step, digits/padding, procede or follow filename)
  • Trim (position, count, from left/right)
  • Insert (position, form left/right)
  • Convert (%20 to space, _ to space, space to _, . to space
I also like the idea of having multiple tabs (something that Windows Explorer lacks) as other users have mentioned.

Thanks,
Nic T.
thinw002
 
Posts: 1
Joined: Thu May 08, 2008 1:40 am

Re: Multiple File Rename (Feature Request)

Postby marius » Thu May 08, 2008 10:52 pm

I'm currently working on this feature. There are some minor things to complete, some bugs to fix, but I think it will be nice feature. I have already implemented search & replace, counter, case change and a few operations on a file name and an extension. Some examples:
[N] - whole name
[N2] - 2nd character of a name
[N2,3] - 3 characters starting at the 2nd character of a name
[N2-5] - characters 2 to 5
[N2-] - all characters starting from the 2nd character
[N-2] - 2nd character from the end of name
[N-3,2] - two characters starting at 3rd character from the end of a name
[C10,2,3] - inserts counter starting at 10, step by 2, use 3 digits to display

Mariusz
marius
 
Posts: 5
Joined: Sat Oct 27, 2007 10:30 pm

Re: Multiple File Rename (Feature Request)

Postby ifezs001 » Fri May 09, 2008 10:55 am

Great to hear this. :)

If I can tell you one thing: Check the Total Commander or Unreal Commander for the multi rename features, if you did not done it before.
ifezs001
 
Posts: 11
Joined: Thu Oct 25, 2007 2:37 pm

Re: Multiple File Rename (Feature Request)

Postby marius » Tue Jun 10, 2008 5:27 pm

A multi rename feature has been added to the nightly build. You can access it with alt F6.
Please report any bugs or comments.
Mariusz
marius
 
Posts: 5
Joined: Sat Oct 27, 2007 10:30 pm

Re: Multiple File Rename (Feature Request)

Postby RLee » Sun Oct 26, 2008 9:12 pm

That is terrific news. But ... I am unable to make it work. I select some files, click File > Batch Rename..., and absolutely nothing happens. I am assuming I should be then prompted for the rename pattern? Am I doing something wrong? This is on a Mac, if it matters. Thanks for any advice.
RLee
 
Posts: 2
Joined: Sun Oct 26, 2008 6:19 am

Re: Multiple File Rename (Feature Request)

Postby marius » Mon Oct 27, 2008 10:49 pm

Can you run muCommander from the command line
java -jar mucommander.jar
and see if any error messages appear?
Mariusz
marius
 
Posts: 5
Joined: Sat Oct 27, 2007 10:30 pm

Re: Multiple File Rename (Feature Request)

Postby RLee » Thu Oct 30, 2008 4:00 am

Sure enough, that produced a lovely stacktrace. Looks like a java version problem, maybe? It appears I'm still running 1.4.2 -- build 1.4.2_12-270.

Code: Select all
apple.awt.EventQueueExceptionHandler Caught Throwable : java.lang.Error: Do not use com.mucommander.ui.dialog.file.BatchRenameDialog.setLayout() use com.mucommander.ui.dialog.file.BatchRenameDialog.getContentPane().setLayout() instead
java.lang.Error: Do not use com.mucommander.ui.dialog.file.BatchRenameDialog.setLayout() use com.mucommander.ui.dialog.file.BatchRenameDialog.getContentPane().setLayout() instead
        at javax.swing.JDialog.createRootPaneException(JDialog.java:536)
        at javax.swing.JDialog.setLayout(JDialog.java:603)
        at com.mucommander.ui.dialog.file.BatchRenameDialog.initialize(BatchRenameDialog.java:122)
        at com.mucommander.ui.dialog.file.BatchRenameDialog.<init>(BatchRenameDialog.java:114)
        at com.mucommander.ui.action.BatchRenameAction.performAction(BatchRenameAction.java:44)
        at com.mucommander.ui.action.MuAction.actionPerformed(MuAction.java:693)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1819)
        at javax.swing.AbstractButton$ForwardActionEvents.actionPerformed(AbstractButton.java:1872)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
        at javax.swing.AbstractButton.doClick(AbstractButton.java:321)
        at apple.laf.ScreenMenuItem.actionPerformed(ScreenMenuItem.java:83)
        at java.awt.MenuItem.processActionEvent(MenuItem.java:589)
        at java.awt.MenuItem.processEvent(MenuItem.java:548)
        at java.awt.MenuComponent.dispatchEventImpl(MenuComponent.java:285)
        at java.awt.MenuComponent.dispatchEvent(MenuComponent.java:273)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:483)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:234)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:184)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:178)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:170)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:100)
RLee
 
Posts: 2
Joined: Sun Oct 26, 2008 6:19 am

Re: Multiple File Rename (Feature Request)

Postby marius » Thu Oct 30, 2008 9:46 am

I have fixed this. Can you check the nighly build.
Mariusz
marius
 
Posts: 5
Joined: Sat Oct 27, 2007 10:30 pm

Re: Multiple File Rename (Feature Request)

Postby maxence » Tue Nov 11, 2008 2:13 am

FYI, the Java 1.4 fix has been included in the new 0.8.3 build released today.

Maxence
User avatar
maxence
Site Admin
 
Posts: 433
Joined: Wed Aug 21, 2002 8:18 pm

Re: Multiple File Rename (Feature Request)

Postby renamer » Sun Mar 14, 2010 2:43 pm

Spacetornado Renamer is a Windows program that renames mass amounts of files in batches. You can search and replace text and more. Remove a certain number of characters, change the case to lower, upper or First Letter Capital, and add text to the beginning or end (append/prepend) of every filename. Spacetornado Renamer is free to download, use and redistribute, as long as it is not modified in any way.

Rename Files
renamer
 
Posts: 1
Joined: Sun Mar 14, 2010 2:29 pm

Re: Multiple File Rename (Feature Request)

Postby joetraff » Tue May 18, 2010 8:10 am

I follow the same procedure like thinw.
think it's easy and trouble free. :)
joetraff
 
Posts: 2
Joined: Mon May 17, 2010 7:56 pm

Re: Multiple File Rename (Feature Request)

Postby guai » Sun Jun 27, 2010 7:32 pm

It would be great to have RegExp find and replace feature in batch rename
guai
 
Posts: 3
Joined: Sun Jun 27, 2010 7:27 pm

Next

Return to Feedback

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests