Tested for Bittorrent/uTorrent clients (version 3+) and qBittorrent (4.2+) versions.
Features:
Processing all torrents
Processing torrents with subdirectories and without subdirectories
Processing torrents with renamed files
Processing torrents with non-standard encodings (for example, cp1251)
Processing of torrents in the not ready state *
Processing modified torrent names
Save date, metrics, status. **
Import of tags and labels
Multithreading
Path replace mechanism
* This torrents will not be done (0%) and will need force rehash
* If you migrate from windows to linux and use replace function attention that multiple flags -r processing one by one
* If you migrate from windows to linux and yours torrent files saves to some place you must use flag --search with actual paths in yours system
* If you migrate from windows to linux you may need to define path separathor with --sep flag
** The calculation of the completed parts is based only on the priority of the files in torrent. Don't transfer global uTorrent/BitTorrent statistics.
*** Partially downloaded torrents will be visible as 100% completed, but in fact you will need to do a rehash. Without rehash torrents not will be valid. This is due to the fact that conversion of .dat files in which parts of objects are stored is not implemented.
Don't forget before use make backup bittorrent\utorrent, qbittorrent folder. and config %APPDATA%/Roaming/qBittorrent/qBittorrent.ini. Close all this program before.
Usage:
If you MacOs user or Linux user don't forget to make the file executable:
CODE: SELECT ALL$ chmod +x bt2qbt_v1.3_amd64_macos1.) Help (from cmd or powerwhell)
CODE: SELECT ALLUsage: C:\Users\user\Downloads\bt2qbt_v1.9_amd64.exe [OPTIONS]Application Options: -s, --source= Source directory that contains resume.dat and torrents files (default: C:\Users\user\AppData\Roaming\uTorrent\) -d, --destination= Destination directory BT_backup (as default) (default: C:\Users\user\AppData\Local\qBittorrent\BT_backup\) -c, --config= qBittorrent config file (for write tags) (default: C:\Users\user\AppData\Roaming\qBittorrent\qBittorren- t.ini) --without-labels Do not export/import labels --without-tags Do not export/import tags -t, --search= Additional search path for torrents files Example: --search='/mnt/olddisk/savedtorrents' --search='/mnt/olddisk/workstorrents' -r, --replace= Replace paths. Delimiter for from/to is comma - , Example: -r "D:\films,/home/user/films" -r "D:\music,/home/user/music" --sep= Default path separator that will use in all paths. You may need use this flag if you migrating from windows to linux in some cases (default: \)Help Options: -h, --help Show this help message2.) If you just run application, it will processing torrents from %APPDATA%\uTorrent\ to %LOCALAPPDATA%\qBittorrent\BT_BACKUP\
Example:
CODE: SELECT ALLIt will be performed processing from directory C:\Users\user\AppData\Roaming\uTorrent\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ and config C:\Users\user\AppData\Roaming\qBittorrent\qBittorrent.ini is backed up.Press Enter to startStarted1/2 Sucessfully imported 1.torrent2/2 Sucessfully imported 2.torrentPress Enter to exit3.) Run application from cmd or powershell with keys, if you want change source dir or destination dir, or export/import behavior
Example:
CODE: SELECT ALLC:\Users\user\Downloads> .\bt2qbt_v1.3_amd64.exe -s C:\Users\user\AppData\Roaming\BitTorrent\It will be performed processing from directory C:\Users\user\AppData\Roaming\BitTorrent\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ is backed up.Press Enter to startStarted1/3233 Sucessfully imported 1.torrent2/3233 Sucessfully imported 2.torrent3/3233 Sucessfully imported 3.torrent...3231/3233 Sucessfully imported 3231.torrent3232/3233 Sucessfully imported 3232.torrent3233/3233 Sucessfully imported 3233.torrent