Skip to content

Bulk asynchronous downloader for multiple file hosts

fix --sort-all-downloads and update docs

datawhores63258e18c671
diff --git a/cyberdrop_dl/managers/args_manager.py b/cyberdrop_dl/managers/args_manager.py
index 8f69f15a0..d0be6a7b3 100644
--- a/cyberdrop_dl/managers/args_manager.py
+++ b/cyberdrop_dl/managers/args_manager.py
@@ -108,7 +108,7 @@ class ArgsManager:
if self.parsed_args['sort_downloads']:
self.sort_downloads = True
if not self.parsed_args['sort_all_downloads']:
- self.sort_cdl_only = False
+ self.sort_cdl_only = True
if self.parsed_args['sort_folder']:
self.sort_folder = Path(self.parsed_args['sort_folder'])
if self.parsed_args['scan_folder']:
diff --git a/docs/reference/cli-arguments.md b/docs/reference/cli-arguments.md
index 85ef40098..1602c1034 100644
--- a/docs/reference/cli-arguments.md
+++ b/docs/reference/cli-arguments.md
@@ -78,7 +78,7 @@ For items not explained below, you can find their counterparts in the Configurat
// Sorting Options
--sort-downloads
---sort-all-downloads : Only sort all downloads within a the scan_dir
+--sort-all-downloads : sort all downloads within the scan_dir
--sort-folder
--scan-folder : set a directory to scan
diff --git a/docs/reference/configuration-options/settings.md b/docs/reference/configuration-options/settings.md
index 7904ada76..8876ce87c 100644
--- a/docs/reference/configuration-options/settings.md
+++ b/docs/reference/configuration-options/settings.md
@@ -290,11 +290,18 @@ You can use the shared path flags below in any part of the sorting schemas. You
Shared Path Flags:
* sort\_dir - sort\_folder path
-* base\_dir - the highest level folder name inside the downloads folder (model name / thread name)
+* base\_dir - the highest level folder name inside the folder being scan (model name / thread name)
* parent\_dir - the folder name of where the file is (album name)
* filename - the files name (stem)
* ext - the files extension
+
+***
+
+* sort\_downloads
+
+Setting this to true will allow Cyberdrop-DL to sort downloads after a run is complete.
+
***
* sort\_downloads