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

Emirald Mateli noreply at phabricator.kde.org
Sat Jun 30 09:35:42 BST 2018


emateli added a comment.


  In D10698#257863 <https://phabricator.kde.org/D10698#257863>, @nmel wrote:
  
  > It seems like a small tool independent of Dolphin to me.
  
  
  Could be, but one of those small rename tools has to be baked in the application itself and since Dolphin's rename capabilities at the moment are not great, I thought this was an area that could use some work.
  
  > 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.
  
  From my understanding, both.
  
  > 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?
  
  That would be `#name` and there is a drop down menu that allows the user to insert tokens. The syntax is like this since the pound sign was already in use by Dolphin and the date tokens with `%` are used by Spectacle. Gwenview which you mentioned uses a different syntax as well. I'm open to suggestions on the format. Perhaps it could be something that all the applications could converge upon at some point instead of each having its own format. I personally think the Gwenview one looks slightly better and the additional verbosity it has is a non-issue.
  
  The rest of the syntax for Find/Replace and Capture groups is simply the standard regular expression syntax.

REPOSITORY
  R318 Dolphin

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

To: emateli, dfaure, elvisangelaccio, ngraham, #dolphin
Cc: kfm-devel, nmel, abika, asensi, michaelh, hein, rkflx, 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/20180630/238fc43d/attachment.htm>


More information about the kfm-devel mailing list