Skip to content

Instantly share code, notes, and snippets.

@anthony1x6000
anthony1x6000 / qbit-fastresume-path-changer.py
Last active January 23, 2025 04:46 — forked from Roardom/qbit-fastresume-path-changer.py
Hopefully replace paths + subdir easily in qBittorrent .fastresume (useful when switching from windows to linux)
import os
import re, shutil
# Insert the path where you keep your fast resume files here.
# Make a backup first!!!
torrentsDir = r'1/'
# Insert paths to be replaced here. Dictionary key is current path. Dictionary value is new path
# If left empty, the script will only detect paths