D10698: Adds a new RenameDialog to Dolphin with more options for batch renaming

Nikita Melnichenko noreply at phabricator.kde.org
Thu May 3 20:22:56 BST 2018


nmel added a comment.


  //Coming from Krusader project...//
  
  Sorry, took me some time to answer as we were busy preparing for release.
  
  > The idea behind this is not to replace KRename or similar tools, but to add some slightly-more-than-basic batch rename tools while keeping the whole thing user friendly.
  
  It seems like a small tool independent of Dolphin to me. Similar to KRename. In fact, Krusader integrates with KRename quite well, so in case this one becomes an external tool with a similar command line interface, it should work without even changing Krusader code (only settings). Can you summarize what current ties with Dolphin are?
  
  > Still giving a +1 for moving this into KIO so Gwenview and Krusader can use it too if they'd like.
  
  What kind of functionality is it proposed to move to KIO? The whole dialog or backend only (i.e. code that is running after pressing Rename button)? I support making this available outside of Dolphin but the best way to do it is unclear.
  
  Regarding the syntax, it needs some work, IMO. For example, how do I rename `a.txt, b.txt, c.txt` into `1name.txt, 2name.txt, 3name.txt`? How do I insert a hash symbol into the file name? Things like this. It should be consistent. If I were working on this, I'd use Python string.format format (similar to what Gwenview Importer does) - it's very flexible, well designed and proven to work well over the years. Another option is to focus on KRename syntax compatibility. I believe if you invent a new syntax, it should be well justified, especially if we target to use it across KDE apps. What do you think about making the discussion broader?
  
  To conclude, I'd like to thank you for working on this. The richer experience we have the better! Looking forward to seeing this integrated.

REPOSITORY
  R318 Dolphin

REVISION DETAIL
  https://phabricator.kde.org/D10698

To: emateli, dfaure, elvisangelaccio, ngraham, #dolphin
Cc: nmel, abika, asensi, michaelh, hein, rkflx, anthonyfieroni, mmustac, nicolasfella, #dolphin, spoorun, navarromorales, isidorov, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180503/b0e43e98/attachment.htm>


More information about the kfm-devel mailing list