Skip to content
This repository has been archived by the owner on Oct 6, 2020. It is now read-only.

Find and replace filepaths in qBittorrent v3.3+

License

Notifications You must be signed in to change notification settings

jzelinskie/move_torrents.py

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 

Repository files navigation

move_torrents.py

Have you just renamed a directory or moved your storage to a new hard-drive and now all of your torrents need to be updated?

This script only works on qBittorrent 3.3+ because in that version the location for torrent metadata was moved.

example usage

# Backup the BT_BACKUP directory, in case something goes wrong.
$ cp -r "C:\\Users\\Jimi\\AppData\\Local\\qBittorrent\\BT_BACKUP" "C:\\Users\\Jimi\\AppData\\Local\\qBittorrent\\BT_BACKUP_2"

# Install the script's dependencies.
$ pip install requirements.txt

# Run the script with the three required arguments.
$ python move_torrents.py --find-path "F:\\Anime\\" --replace-path "F:\\" --bt-backup-path "C:\\Users\\Jimi\\AppData\\Local\\qBittorrent\\BT_BACKUP"

About

Find and replace filepaths in qBittorrent v3.3+

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages