qbittorrent / qBittorrent

qBittorrent BitTorrent client
https://www.qbittorrent.org
Other
26.89k stars 3.87k forks source link

Batch rename files #14333

Open github-account1111 opened 3 years ago

github-account1111 commented 3 years ago

Please provide the following information

qBittorrent version and Operating System

4.3.3 Windows 10 1809 64-bit.

What is the problem

Not a problem per se, but I would like an ability to rename multiple files at once. image In the pic above, for example, I want all the episodes to follow the sXXeXX naming format instead of XXxXX that the author chose. I did it by hand for maybe 15 episodes, but there are hundreds.

It'd be nice to be able to select multiple files and batch-rename using find-replace patterns or regex the way Directory Opus does it, for example.

Even more versatile would be to allow piping the files to an external renamer, e.g. https://man.archlinux.org/man/extra/moreutils/vidir.1.en or https://github.com/marcusbuffett/pipe-rename. This would let the user choose a familiar editor, e.g. VIM or VSCode, instead of having to adjust to the renaming UI. It would also allow taking advantage of multi-cursor editing, macros and other functionality within those editors without having to implement and maintain them in qBt.

Steps to reproduce

Add a multi-file torrent.

lev777 commented 3 years ago

next level / pipe dream after rename by pattern would be rename by tag

github-account1111 commented 3 years ago

Actually I also feel like this is at the very least related to #439. After all, filename is a part of filepath.