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

Nikita Melnichenko noreply at phabricator.kde.org
Fri Jul 6 08:38:32 BST 2018


nmel added a comment.


  In D10698#285135 <https://phabricator.kde.org/D10698#285135>, @emateli wrote:
  
  > In D10698#257863 <https://phabricator.kde.org/D10698#257863>, @nmel wrote:
  >
  > > 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.
  
  
  It won't work. It will produce a.txt, b.txt, c.txt according to the 3rd screenshot because `#name` stands for the full file name in the proposed syntax.
  "How do I insert a hash symbol into the file name?" - is also a problem.
  
  > 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.
  
  Great! //To other people in the discussion//: please share your opinion on the format. Let's move to python string.format syntax used by Gwenview if no objections. It solves the problems above.

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, firef, andrebarros, emmanuelp
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://mail.kde.org/mailman/private/kfm-devel/attachments/20180706/3c568d42/attachment.htm>


More information about the kfm-devel mailing list