rndusr / stig

TUI and CLI for the BitTorrent client Transmission
GNU General Public License v3.0
554 stars 24 forks source link

Add bulk rename option #170

Open Soundtoxin opened 4 years ago

Soundtoxin commented 4 years ago

I'm interested in the ability to rename all "marked" files at the same time. For example, adding the same text to the beginning of many files from the same torrent. ranger has a :bulkrename[0] option that works this way, it brings you into your editor where you can edit freely, then save, then it previews the changes to be made and you confirm them and all these files can be renamed at once. Since it brings you to your editor, you can do more advanced stuff than just add the same text to the start/end of lines. You can fix small typos and such at the same time. I'm not sure how hard this would be to implement. [0] https://github.com/ranger/ranger/wiki/Official-user-guide#user-content-bulk-renaming

torrents-to-be-renamed Here is an example of a situation where this would've been a big help. I got some rather generically-named files in a torrent that makes them harder to locate with the find command, because the name of the show is not in each filename. So, I started adding it manually, separately renaming each one and pasting the same thing at the start. (picture shows a before and after, with the bottom ones being renamed already) Rather tedious. I did mark everything before hitting rename just in case the feature was in already, but it still just renamed the highlighted file.

rndusr commented 4 years ago

Sounds like a great idea.

thalesnunes commented 1 year ago

This would be really amazing (and save a lot of time)!