

Qbt_migrate -e X: -n /torrents -t Linux # Windows to Linux/Mac (converts slashes) # When running on Linux machine \\ is needed for Windows Paths # Note Trailing Slash Qbt_migrate -e X:\Torrents -n Z:\NewDir\Torrents -t Windows # Windows to Windows (Drive letter change with directory change)


Qbt_migrate -e X:\Torrents -n X:\NewDir\Torrents -t Windows # Windows to Windows (Directory Change) qbt_migrate -e X:\ -n Z:\ -t Windows # Windows to Windows (Drive letter change) The correct pattern for this would be -e X: -n /torrents or -e X:\ -n /torrents/. e X:\ -n /torrents will result in /torrentsxxxxx, not /torrents/xxxxx. NOTE: Take note of trailing slash replacement when changing from Windows Linux. NOTE: When running qbt_migrate on a Linux/Mac machine, Windows paths will require double \. ExamplesĪssuming all of our torrents are in X:\Torrents when coming from Windows, or /torrents when coming from Linux/Mac

Linux/Mac: $HOME/.local/share/data/qBittorrent/BT_backupĪ backup zip archive is automatically created in the BT_backup directory.Windows: %LOCALAPPDATA%/qBittorrent/BT_backup.v, -version Prints the current version number and exits.īy default, everything happens in the BT_backup directory defined by the OS the script is running on. Run the script and follow prompts or use CLI arguments with command qbt_migrate usage: qbt_migrate [-t Install from PyPi using pip, or jump to Examples for Docker pip install qbt_migrate It can also convert slashes when migrating between Windows and Linux/Mac.Īlso check out my Chrome Extension for handling TV Episode torrents.ĪLWAYS ensure qBittorrent is closed before running qbt_migrate.Įither quit through File -> Exit, task tray icon, or task manager for your system. This tool changes the paths of existing torrents in qBittorrent in a bulk fashion.
