macOS tool for migration from Bittorrent/uTorrent to qBittorrent

MAC OS X specific questions, problems.

Moderator: Global Moderator

Post Reply
rumanzo
Member
Member
Posts: 64
Joined: Fri Dec 29, 2017 6:46 pm

macOS tool for migration from Bittorrent/uTorrent to qBittorrent

Post by rumanzo » Mon Oct 21, 2019 12:58 pm

Original topic https://qbforums.shiki.hu/index.php/topic,5889.0.html

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 *
  • Save date, metrics, status. **
  • Import of tags and labels
  • Multithreading
* This torrents will not be done (0%) and will need force rehash
** The calculation of the completed parts is based only on the priority of the files in torrent
*** 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. After rehash files on fs will be valid, but qBittorrent will show that come files are 99% downloaded.

Don't forget before use make backup bittorrent\utorrent, qbittorrent folder. and config ~/.config/qBittorrent/qbittorrent.ini. Close all this program before.

Usage:
At first you must set file executable

Code: Select all

$ chmod +x bt2qbt_v1.1_amd64_macos
1.) Help (from cmd or powerwhell)

Code: Select all

$ ./bt2qbt_v1.1_amd64_macos.exe -h
Usage of C:\Users\user\Downloads\bt2qbt_v1.1_amd64.exe:
-c, --qconfig (= "~/.config/qBittorrent/qbittorrent.ini")
    qBittorrent config files (for write tags)
-d, --destination (= "~/Library/Application Support/QBittorrent")
    Destination directory BT_backup (as default)
-s, --source (= "~/Library/Application Support/uTorrent")
    Source directory that contains resume.dat and torrents files
--without-labels  (= false)
    Do not export/import labels
--without-tags  (= false)
    Do not export/import tags
2.) If you just run application, it will processing torrents from ~/Library/Application Support/uTorrent/ to ~/Library/Application Support/QBittorrent/BT_BACKUP/
Example:

Code: Select all

It will be performed processing from directory /Users/user/Library/Application Support/uTorrent/ to directory /Users/user/Library/Application Support/QBittorrent/BT_backup/
Check that the qBittorrent is turned off and the directory /Users/user/Library/Application Support/QBittorrent/BT_backup/ and config /Users/user/.config/qBittorrent/qbittorrent.ini is backed up.

Press Enter to start

2019/08/15 00:11:27 Started
1/4 Sucessfully imported torrent1.torrent 
2/4 Sucessfully imported torrent2.torrent 
3/4 Sucessfully imported torrent3.torrent 
4/4 Sucessfully imported torrent4.torrent 

2019/08/15 00:11:27 Ended

Press Enter to exit
3.) Run application from cmd or powershell with keys, if you want change source dir or destination dir, or export/import behavior
Example:

Code: Select all

$ bt2qbt_v1.1_amd64_macos -s /custom/source/path
Known issuses:
  • Unknown
Here's the project: https://github.com/rumanzo/bt2qbt
Code:  https://github.com/rumanzo/bt2qbt/blob/master/bt2qbt.go
Releases: https://github.com/rumanzo/bt2qbt/releases
x86_64 MacOs binary: https://github.com/rumanzo/bt2qbt/relea ... md64_macos

Deluge branch:
comming soon

If there are any errors or if it help you - write there

Post Reply