How to achieve bulk automatic path detection for completed torrent files?

Windows specific questions, problems.
Post Reply
hax4lyf
Newbie
Newbie
Posts: 1
Joined: Sat Nov 20, 2021 5:41 am

How to achieve bulk automatic path detection for completed torrent files?

Post by hax4lyf »

I want to be a good girl and seed my torrents but I made a mistake using Windows explorer to move my completed files and am inexperienced with the categories system.

I have roughly 50 completed torrents for 'music genre X' with no assigned categories or tags.
All 50 were originally saved to my desktop folder.
All 50 were then moved to a new shared folder ('music genre X') via Windows explorer.
All 50 were then sorted into new subfolders within that new shared folder ('artist Y', 'artist Z' etc. within 'music genre X') via Windows explorer.

So, how can I get qBittorrent to automatically detect all completed torrents' new paths, so that I may continue seeding?
User avatar
Peter
Administrator
Administrator
Posts: 2702
Joined: Wed Jul 07, 2010 6:14 pm

Re: How to achieve bulk automatic path detection for completed torrent files?

Post by Peter »

I'm lazy so I'd ..
1) do a full backup of all qbittorrent settings
2) switch to SQLite database in Advanced
3) load up all torrents, add them as paused
4) load up Python and using SQLite db and walking the fs I'd correct the paths and set them to complete

It is not exactly straightforward.
You could also just dump them into one big folder, add the torrents and it'll auto-check + start seeding and THEN you could use the move files feature to move them.

Pick your poison.
I also saw some scripts but I never used them myself.
Post Reply