rumanzo / qbtchangetracker

cli tool for iteratively change trackers in qBittorrent
https://qbforums.shiki.hu/viewtopic.php?f=14&t=5625
GNU General Public License v3.0
65 stars 3 forks source link
qbittorrent torrent

qbtchangetracker

qbtchangetracker is cli tool for iterative change trackers in qBittorrent fastresume files

Feature:

[!IMPORTANT] Don't forget before use make backup qbittorrent folder. Close qBittorrent before use.

Help:

Help (from cmd or powerwhell)

PS C:\Downloads>qbtchangetracker_v1.4_amd64.exe -h
Usage:
  qbtchangetracker_v1.4_amd64.exe [OPTIONS]

Application Options:
  -d, --directory=  Destination directory BT_backup (as default) (default:
                    C:\Users\user\AppData\Local\qBittorrent\BT_backup)
  -o, --oldtracker= Old tracker
  -n, --newtracker= New tracker
  -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 message

Usage examples:

Press Enter to start

2019/03/13 00:11:39 Started 1 Changed tracker for torrent: torrentname1 2 Changed tracker for torrent: torrentname2


- Run application from cmd or powershell with keys, if you want change source dir or destination dir, or export/import behavior

PS C:\qbtchangetracker> .\qbtchangetracker_v1.4_amd64.exe -d C:\temp\BT_backup\ -o oldtracker -n newtracker Check that the qBittorrent is turned off and the directory C:\temp\BT_backup\ and is backed up.

Press Enter to start

2019/03/13 00:11:39 Started 1 Changed tracker for torrent: torrentname1 2 Changed tracker for torrent: torrentname2 Press Enter to exit

- Run with replace and\or sep key (if you migrate to different OS)

PS C:\qbtchangetracker> .\qbtchangetracker_v1.4_amd64.exe -d C:\temp\BT_backup\ --sep '/' -r 'D:/films,/mnt/d/films' -r 'D:\music,/mnt/d/music' Check that the qBittorrent is turned off and the directory C:\temp\BT_backup\ and is backed up.

Press Enter to start

2019/03/13 00:11:39 Started 1 Changed save path for torrent: torrentname1 2 Changed save path for torrent: torrentname2 Press Enter to exit


Linux:
----------------

Downlod the Linux binary from [Releases](https://github.com/rumanzo/qbtchangetracker/releases) page and add execute permission. For example:

cd ~/.local/share/data/qBittorrent/ wget https://github.com/rumanzo/qbtchangetracker/releases/download/v1.4/qbtchangetracker_v1.4_amd64_linux chmod +x qbtchangetracker_v1.4_amd64_linux ./qbtchangetracker_v1.4_amd64_linux --help



Known issuses:
---------------
 - Unknown