From 2017f937520bcd9ae44a437d14dfc6f6fc119b41 Mon Sep 17 00:00:00 2001 From: rumanzo Date: Fri, 7 May 2021 15:53:47 +0300 Subject: [PATCH] Update warning message and README.md --- README.md | 12 +++++++++--- bt2qbt.go | 3 ++- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/README.md b/README.md index a359a5e..7b7d670 100644 --- a/README.md +++ b/README.md @@ -38,6 +38,9 @@ Feature: > [!IMPORTANT] > Don't forget before use make backup bittorrent\utorrent, qbittorrent folder. and config %APPDATA%/Roaming/qBittorrent/qBittorrent.ini. Close all this program before. +> +> [!IMPORTANT] +> You must previously disable option "Append .!ut/.!bt to incomplete files" in preferences of uTorrent/Bittorrent, or that files will not handled Help: ------- @@ -46,7 +49,7 @@ Help (from cmd or powershell) ``` Usage: - C:\Users\user\Downloads\bt2qbt_v1.9_amd64.exe [OPTIONS] + C:\Users\user\Downloads\bt2qbt.exe [OPTIONS] Application Options: -s, --source= Source directory that contains resume.dat and torrents @@ -82,9 +85,10 @@ Usage examples: - If you just run application, it will processing torrents from %APPDATA%\uTorrent\ to %LOCALAPPDATA%\qBittorrent\BT_BACKUP\ ``` -C:\Users\user\Downloads> .\bt2qbt_v1.10_amd64.exe +C:\Users\user\Downloads> .\bt2qbt.exe It will be performed processing from directory C:\Users\user\AppData\Roaming\uTorrent\ 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 you previously disable option "Append .!ut/.!bt to incomplete files" in preferences of uTorrent/Bittorrent Press Enter to start @@ -98,9 +102,11 @@ 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 ``` -C:\Users\user\Downloads> .\bt2qbt_v1.10_amd64.exe -s C:\Users\user\AppData\Roaming\BitTorrent\ +C:\Users\user\Downloads> .\bt2qbt.exe -s C:\Users\user\AppData\Roaming\BitTorrent\ It will be performed processing from directory C:\Users\user\AppData\Roaming\BitTorrent\ 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 you previously disable option "Append .!ut/.!bt to incomplete files" in preferences of uTorrent/Bittorrent + Press Enter to start Started diff --git a/bt2qbt.go b/bt2qbt.go index b47e26e..db099ce 100644 --- a/bt2qbt.go +++ b/bt2qbt.go @@ -356,8 +356,9 @@ func main() { errChannel: make(chan string, totaljobs), boundedChannel: make(chan bool, runtime.GOMAXPROCS(0)*2)} color.Green("It will be performed processing from directory %v to directory %v\n", flags.BitDir, flags.QBitDir) - color.HiRed("Check that the qBittorrent is turned off and the directory %v and config %v is backed up.\n\n", + color.HiRed("Check that the qBittorrent is turned off and the directory %v and config %v is backed up.\n", flags.QBitDir, flags.Config) + color.HiRed("Check that you previously disable option \"Append .!ut/.!bt to incomplete files\" in preferences of uTorrent/Bittorrent \n\n") fmt.Println("Press Enter to start") fmt.Scanln() log.Println("Started")