Diffusion KIO 12bf704476c6

Add BatchRenameJob to KIO

Authored by chinmoyr on Dec 3 2017, 1:41 PM.

Description

Add BatchRenameJob to KIO

Summary:
This job renames multiple files in one go. It takes as argument a list of
file urls, a new name containing exactly one placeholder character or
one connected sequence of placeholders, and an index number which
will replace the placeholder.
The new filenames will have a common base name and only the index
number which replaces the placeholder will differ.
For e.g. batchRename({file:///localpath/file1.c, file:///localpath/file2.c},
"new-name#", 7, '#') will rename both the file to "new-name7.c" and
"new-name8.c".

Reviewers: Frameworks, dfaure

Reviewed By: dfaure

Subscribers: apol

Tags: Frameworks

Differential Revision: https://phabricator.kde.org/D9103

Details

Committed
chinmoyrDec 3 2017, 1:56 PM
Reviewer
dfaure
Differential Revision
D9103: Add BatchRenameJob to KIO
Parents
R241:642f33d39c5f: Fix doxygen code block not ending with endcode
Branches
Unknown
Tags
Unknown