jslay88 / qbt_migrate

Migrate qBittorrent downloads
MIT License
162 stars 10 forks source link

win -> Linux requires going 1 directory away from the Drive letter #14

Closed Reverse256 closed 2 years ago

Reverse256 commented 2 years ago

Hello,

This tool looks very useful.

One issue I ran into.

'-e X:\' fails

user@computer:/dev/shm$ qbt_migrate -e X:\ -n /mnt/z -t Linux usage: qbt_migrate [-h] [-e EXISTING_PATH] [-n NEW_PATH] [-t {Windows,Linux,Mac}] [-b BT_BACKUP_PATH] [-s] [-l {DEBUG,INFO}] qbt_migrate: error: unrecognized arguments: /mnt/z

'-e X:\a' works

user@computer:/dev/shm$ qbt_migrate -e X:\a -n /mnt/z -t Linux BT_Backup Path (/home/user/.local/share/data/qBittorrent/BT_backup):

Thank you for this tool

Reverse256 commented 2 years ago

Submitted PR to update documentation for the repo in its current condition

Double backslash works: (also I needed trailing '/' after the last directory)

e.g. qbt_migrate -e X:\\ -n /mnt/z/ -t Linux

jslay88 commented 2 years ago

18 resolves