Merge branch 'master' of github.com:rumanzo/deluge2qbt

This commit is contained in:
Alexey Kostin 2023-01-12 00:44:12 +03:00
commit 365c2506c5
2 changed files with 21 additions and 36 deletions

View File

@ -4,7 +4,6 @@ deluge2qbt is cli tool for export from uTorrent\Bittorrent into qBittorrent (con
- [Feature](#user-content-feature) - [Feature](#user-content-feature)
- [Help](#user-content-help) - [Help](#user-content-help)
- [Usage examples](#user-content-usage-examples) - [Usage examples](#user-content-usage-examples)
- [Known issuses](#user-content-known-issuses)
- [Linux](#user-content-linux) - [Linux](#user-content-linux)
Feature: Feature:
@ -36,32 +35,30 @@ Help:
Help (from cmd or powerwhell) Help (from cmd or powerwhell)
``` ```
PS C:\Users\user\go\src\deluge2qbt> .\deluge2qbt_v1.3_amd64.exe -h PS C:\Users\user\Downloads> .\deluge2qbt_v1.999_amd64.exe -h
Usage of C:\Users\user\go\src\deluge2qbt\deluge2qbt_v1.3_amd64.exe: Usage:
-c, --qconfig (= "C:\\Users\\user\\AppData\\Roaming\\qBittorrent\\qBittorrent.ini") C:\Users\user\Downloads\deluge2qbt_v1.999_amd64.exe [OPTIONS]
qBittorrent config files (for write tags)
-d, --destination (= "C:\\Users\\user\\AppData\\Local\\qBittorrent\\BT_backup\\") Application Options:
Destination directory BT_backup (as default) -s, --source= Source directory that contains deluge files (default: C:\Users\user\AppData\Roaming\deluge\)
--replace (= "") -d, --destination= Destination directory BT_backup (as default) (default: C:\Users\user\AppData\Local\qBittorrent\BT_backup\)
Replace paths. --without-tags Do not export/import tags
Delimiter for replaces - ; -r, --replace= Replace save paths. Important: you have to use single slashes in paths
Delimiter for from/to - , Delimiter for from/to is comma - ,
Example: "D:\films,/home/user/films;\,/" Example: -r "D:/films,/home/user/films" -r "D:/music,/home/user/music"
If you use path separator different from you system, declare it mannually
-s, --source (= "C:\\Users\\user\\AppData\\Roaming\\deluge\\") -v, --version Show version
Source directory that contains resume.dat and torrents files
--without-labels (= false) Help Options:
Do not export/import labels -h, --help Show this help message
--without-tags (= false)
Do not export/import tags
``` ```
Usage examples: Usage examples:
---------------- ----------------
- If you just run application, it will processing torrents from %APPDATA%\uTorrent\ to %LOCALAPPDATA%\qBittorrent\BT_BACKUP\ - If you just run application, it will processing torrents from %APPDATA%\deluge\ to %LOCALAPPDATA%\qBittorrent\BT_BACKUP\
``` ```
C:\Users\user\Downloads> .\deluge2qbt_v1.3_amd64.exe C:\Users\user\Downloads> .\deluge2qbt_v999_amd64.exe
It will be performed processing from directory C:\Users\user\AppData\Roaming\deluge\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ It will be performed processing from directory C:\Users\user\AppData\Roaming\deluge\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\
Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ and config C:\Users\user\AppData\Roaming\qBittorrent\qBittorrent.ini is backed up. Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ and config C:\Users\user\AppData\Roaming\qBittorrent\qBittorrent.ini is backed up.
@ -76,7 +73,7 @@ Press Enter to exit
- Run application from cmd or powershell with keys, if you want change source dir or destination dir, or export/import behavior - Run application from cmd or powershell with keys, if you want change source dir or destination dir, or export/import behavior
``` ```
C:\Users\user\Downloads> .\deluge2qbt_v1.3_amd64.exe -s C:\Users\user2\AppData\Roaming\deluge\ C:\Users\user\Downloads> .\deluge2qbt_v999_amd64.exe -s C:\Users\user2\AppData\Roaming\deluge\
It will be performed processing from directory C:\Users\user2\AppData\Roaming\deluge\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ It will be performed processing from directory C:\Users\user2\AppData\Roaming\deluge\ to directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\
Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ is backed up. Check that the qBittorrent is turned off and the directory C:\Users\user\AppData\Local\qBittorrent\BT_backup\ is backed up.
@ -92,10 +89,7 @@ Started
Press Enter to exit Press Enter to exit
``` ```
Known issuses:
---------------
- Unknown
Linux Linux or MacOs
---------- ----------
Exactly the same, just different paths. Exactly the same, just different paths and don't forget make chmod to deluge2qbt executable file

View File

@ -1,9 +0,0 @@
#!/bin/bash
GOOS=windows GOACH=amd64 go build -o deluge2qbt_v${1}_amd64.exe
GOOS=windows GOARCH=386 go build -o deluge2qbt_v${1}_i386.exe
GOOS=linux GOARCH=amd64 go build -o deluge2qbt_v${1}_amd64_linux
GOOS=linux GOARCH=386 go build -o deluge2qbt_v${1}_i386_linux
GOOS=linux GOARCH=arm go build -o deluge2qbt_v${1}_arm_linux
GOOS=linux GOARCH=arm64 go build -o deluge2qbt_v${1}_arm64_linux
GOOS=darwin GOARCH=amd64 go build -o deluge2qbt_v${1}_amd64_macos
GOOS=darwin GOARCH=386 go build -o deluge2qbt_v${1}_i386_macos