From e68a3f7869f789ce1549148b9dcc6e9f8be921e3 Mon Sep 17 00:00:00 2001 From: dazering Date: Tue, 7 Jul 2026 21:51:55 +0300 Subject: [PATCH] Polish README.md --- HomeLibProt.CollectionManager/README.md | 22 +++++++++++----------- HomeLibProt.CommandLineImporter/README.md | 12 ++++++------ 2 files changed, 17 insertions(+), 17 deletions(-) diff --git a/HomeLibProt.CollectionManager/README.md b/HomeLibProt.CollectionManager/README.md index f2d1680..7fd5750 100644 --- a/HomeLibProt.CollectionManager/README.md +++ b/HomeLibProt.CollectionManager/README.md @@ -2,7 +2,7 @@ Console application for managing collection -## Requirements +## Build requirements - .NET SDK 8.0+ @@ -192,7 +192,7 @@ FlibustaGetDailyUpdateFb2.sh {InpxPath} {LibraryPath} 4. Creating daily archive from `Updates/Fb2` in `LibraryPath` with name `{currentYear}-{currentMonth}-f.fb2-{firstBookNumber}-{lastBookNumber}.zip` 5. Downloading sql dumps from Flibusta to `flibusta_sql_dumps` directory 6. Importing sql dumps to sqlite database -7. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx"` +7. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx` 8. Copy generated inpx to `InpxPath` 9. Run `PostUpdate.(ps1|sh)` script @@ -219,7 +219,7 @@ FlibustaGetDailyUpdateFb2AndUsr.sh {InpxPath} {LibraryPath} 7. Creating daily archive from `Updates/Binary` in `LibraryPath` with name `{currentYear}-{currentMonth}-f.usr-{firstBookNumber}-{lastBookNumber}.zip` 8. Downloading sql dumps from Flibusta to `flibusta_sql_dumps` directory 9. Importing sql dumps to sqlite database -10. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_all_local.inpx"` +10. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_all_local.inpx` 11. Copy generated inpx to `InpxPath` 12. Run `PostUpdate.(ps1|sh)` script @@ -240,7 +240,7 @@ FlibustaGetMonthlyUpdateFb2.sh {InpxPath} {LibraryPath} 1. Creating monthly archive from `LibraryPath` in `LibraryPath` with name `f.fb2-{firstBookNumber}-{lastBookNumber}.zip` from archives coppesponding filter `{currentYear}-{currentMonth}-f.fb2-*.zip` 2. Downloading sql dumps from Flibusta to `flibusta_sql_dumps` directory 3. Importing sql dumps to sqlite database -4. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx"` +4. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx` 5. Copy generated inpx to `InpxPath` 6. Run `PostUpdate.(ps1|sh)` script @@ -262,7 +262,7 @@ FlibustaGetMonthlyUpdateFb2AndUsr.sh {InpxPath} {LibraryPath} 2. Creating monthly archive from `LibraryPath` in `LibraryPath` with name `f.fb2-{firstBookNumber}-{lastBookNumber}.zip` from archives coppesponding filter `{currentYear}-{currentMonth}-f.usr-*.zip` 3. Downloading sql dumps from Flibusta to `flibusta_sql_dumps` directory 4. Importing sql dumps to sqlite database -5. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx"` +5. Generating inpx from sqlite database to `flibusta_sql_dumps/flibusta_fb2_local.inpx` 6. Copy generated inpx to `InpxPath` 7. Run `PostUpdate.(ps1|sh)` script @@ -283,7 +283,7 @@ For windows: | -- PostUpdate.ps1 ``` -And Linix: +And Linux: ``` | -- HomeLibProt.CollectionManager @@ -335,7 +335,7 @@ systemctl list-timers 3. Run command ``` -HomeLibProt.CollectionManager.exe mergebooks -i {pathToUpdates} -o {pathToLibrary} -s 10000 -p "{currentYear}-{currentMonth}-f.fb2-" -f "*.zip" +HomeLibProt.CollectionManager.exe mergebooks -i {pathToLibrary}/Update/Fb2 -o {pathToLibrary} -s 10000 -p "{currentYear}-{currentMonth}-f.fb2-" -f "*.zip" ``` Example @@ -347,7 +347,7 @@ HomeLibProt.CollectionManager.exe mergebooks -i C:\BookDemo\Books\Update\Fb2 -o 4. Run command ``` -HomeLibProt.CollectionManager.exe mergebooks -i {pathToUpdates} -o {pathToLibrary} -s 10000 -p "{currentYear}-{currentMonth}-f.usr-" -f "*.zip" +HomeLibProt.CollectionManager.exe mergebooks -i {pathToLibrary}/Update/Binary -o {pathToLibrary} -s 10000 -p "{currentYear}-{currentMonth}-f.usr-" -f "*.zip" ``` Example @@ -360,9 +360,9 @@ HomeLibProt.CollectionManager.exe mergebooks -i C:\BookDemo\Books\Update\Binary ``` | -- logs -| -- | errors-{yyyyMMdd}.txt -| -- | fatal-{yyyyMMdd}.txt -| -- | information-{yyyyMMdd}.txt +| | errors-{yyyyMMdd}.txt +| | fatal-{yyyyMMdd}.txt +| | information-{yyyyMMdd}.txt | -- Scripts | | -- .... | -- HomeLibProt.CollectionManager.exe diff --git a/HomeLibProt.CommandLineImporter/README.md b/HomeLibProt.CommandLineImporter/README.md index 37d6883..c6544b9 100644 --- a/HomeLibProt.CommandLineImporter/README.md +++ b/HomeLibProt.CommandLineImporter/README.md @@ -2,17 +2,17 @@ Console application for importing inpx to sqlite database -## Requirements +## Build requirements - .NET SDK 8.0+ -## Build source from source files +## Build from source files ``` dotnet build .\HomeLibProt.CommandLineImporter\HomeLibProt.CommandLineImporter.fsproj ``` -## Publish from source from source files +## Publish from source files Linux @@ -90,9 +90,9 @@ Tested with inpx contains 1M lines, 100 inp files, 1M authors, genres, series an ``` | -- logs -| -- | errors-{yyyyMMdd}.txt -| -- | fatal-{yyyyMMdd}.txt -| -- | information-{yyyyMMdd}.txt +| | errors-{yyyyMMdd}.txt +| | fatal-{yyyyMMdd}.txt +| | information-{yyyyMMdd}.txt | -- Scripts | | -- .... | -- HomeLibProt.CommandLineImporter.exe