Update warning message and README.md

This commit is contained in:
rumanzo 2021-05-07 15:53:47 +03:00
parent f421df467c
commit 2017f93752
2 changed files with 11 additions and 4 deletions

View File

@ -38,6 +38,9 @@ Feature:
> [!IMPORTANT] > [!IMPORTANT]
> Don't forget before use make backup bittorrent\utorrent, qbittorrent folder. and config %APPDATA%/Roaming/qBittorrent/qBittorrent.ini. Close all this program before. > 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: Help:
------- -------
@ -46,7 +49,7 @@ Help (from cmd or powershell)
``` ```
Usage: Usage:
C:\Users\user\Downloads\bt2qbt_v1.9_amd64.exe [OPTIONS] C:\Users\user\Downloads\bt2qbt.exe [OPTIONS]
Application Options: Application Options:
-s, --source= Source directory that contains resume.dat and torrents -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\ - 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\ 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 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 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 - 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\ 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 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 Press Enter to start
Started Started

View File

@ -356,8 +356,9 @@ func main() {
errChannel: make(chan string, totaljobs), errChannel: make(chan string, totaljobs),
boundedChannel: make(chan bool, runtime.GOMAXPROCS(0)*2)} 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.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) 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.Println("Press Enter to start")
fmt.Scanln() fmt.Scanln()
log.Println("Started") log.Println("Started")