Remote Collections
The dorsal collection command group allows you to manage your remote collections on DorsalHub.
Collections are groups of file records, typically created using the dorsal dir push --create-collection command.
The command in this group let you list, view, update, and manage the contents and visibility of those collections.
This guide covers the nine sub-commands:
list: List all your collections.show: Show metadata and files for a single collection.update: Change a collection's name or description.add-files: Add one or more files to a collection by hash.remove-files: Remove one or more files from a collection by hash.make-public: Make a private collection public.make-private: Make a public collection private.export: Export all file records from a collection, and save to your computer.delete: Permanently delete a collection.
dorsal collection list
This command lists all your available collections on DorsalHub.
Example
-
First, make sure you have some collections to list
If you haven't already, create a collection using the
dorsal dir pushcommand with the--create-collectionargument.Free users are can have up to five collections.
You can see your remaining collection limit on your DorsalHub Dashboard
-
Run
dorsal collection listto see display collections by their ID:
The ID field is unique to that collection, and is how we will view or manage it later:
๐ Fetching collections from DorsalHub (page 1)...
DorsalHub Collections
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโณโโโโโโโโโโโโโณโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโ
โ ID โ Name โ Files โ Total Size โ Access โ Last Modified โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ bqsQjurVM57nFe9HF0E9Kap6pmEAQzO1 โ Quarterly Reports 2009-2018 โ 48 โ 126 MiB โ Private โ 2025-12-01 14:03 โ
โ aBtR0dY4lfKZu2hwd3FzHByCvpVybrZw โ Quarterly Reports 2019-2024 โ 21 โ 26 MiB โ Private โ 2025-11-21 12:21 โ
โ aBtR0dY4lfKZu2hwd3FzHByCvpVybrZw โ Stuff โ 5 โ 26 MiB โ Private โ 2025-11-21 12:21 โ
โ KtEJ8hKekwEH7F0FJyhARznKdVFOO2Lf โ Game Files โ 8 โ 343 GiB โ Public โ 2025-10-31 20:59 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโดโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโ
Options
-
Fetch a specific page of results with
-por--page: -
Change the number of results per page with
--per-page: -
Get the raw JSON response:
CLI Docs
Usage: dorsal collection list [OPTIONS]
Lists all available collections on DorsalHub.
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --page -p INTEGER The page number to retrieve. [default: 1] โ
โ --per-page INTEGER The number of collections to retrieve per page. โ
โ [default: 25] โ
โ --json Output the full collection list as a raw JSON โ
โ object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection show
This command shows the detailed metadata and the list of files for a single collection.
Example
Run dorsal collection show with a Collection ID.
This will display information about the collection, as well as a paginated list of the files it contains:
๐ Fetching collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz'...
โญโโโโโโโโโโโโโโโ Collection Metadata โโโโโโโโโโโโโโโโฎ
โ ID: LdHMycfITeldtV63TjOJ73OEoHuybnRz โ
โ Name: stuff โ
โ File Count: 5 โ
โ Total Size: 74 MiB โ
โ Access: Private โ
โ Modified: 2025-10-31 21:26:55 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Files in Collection
โโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโณโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
โ Name โ Size โ Media Type โ SHA256 Hash โ
โกโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฉ
โ DorsalHub.pptx โ 40 KiB โ application/vnd.openxmlforโฆ โ 044607cc132a465221f4d2c6f118657d1f34fabe4c51255878391ac61e5f8893 โ
โ Game Files.7z โ 53 MiB โ application/x-7z-compressed โ 128ad69952157b9c6bd85f638aa0959981ae67ce3f5875f12ede1fc50c5700a6 โ
โ Things fall apart.epub โ 171 KiB โ application/epub+zip โ 137cb58b6e9afd606fd3b0a953aeba6caf0b0f1dc3998e1b889216faa26c037b โ
โ desktop-latest.msi โ 21 MiB โ application/x-msi โ 1ef549693f5498c0a06ad54569e5ad7faf914c7e45301a26be62acd11cb57844 โ
โ bill.pdf โ 80 KiB โ application/pdf โ 46b065c86856297dec7ec0004127a5cdebeeff668f99ea7a8169609cbc4a0da5 โ
โโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโดโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ
Options
-
Display the collection info only (not the file list).
-
Step through the file list with
--pageand--per-page: -
Get the collection, including file records, as a JSON:
CLI Docs
Usage: dorsal collection show [OPTIONS] COLLECTION_ID
Shows metadata and file contents for a single collection.
Note: the order of records will always be by date added.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The unique ID of the collection to show. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --meta-only Only display the collection's high-level metadata. โ
โ --page -p INTEGER The page number for the file list. [default: 1] โ
โ --per-page INTEGER The number of files to retrieve per page. โ
โ [default: 30] โ
โ --json Output the full, detailed collection data as a raw โ
โ JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection update
This command updates the name or description of a remote collection.
Example
Run dorsal collection update with the the collection ID and the fields you want to change as.
Fields you can modify:
- Name via
--nameor-n - Description via
--descriptionor-d
dorsal collection update LdHMycfITeldtV63TjOJ73OEoHuybnRz -n "My Project (Renamed)" -d "A new description."
On success, you'll see a confirmation:
Updating collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz'...
โญโโโโโโโโโโโโโโ Update Complete โโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Collection 'My Project (Renamed)' updated successfully. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Options
-
Update only the name:
-
Update only the description:
-
Get the raw JSON response of the updated collection:
CLI Docs
Usage: dorsal collection update [OPTIONS] COLLECTION_ID
Update the name or description of a remote collection.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The unique ID of the collection to update. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --name -n TEXT A new name for the collection. โ
โ --description -d TEXT A new description for the collection. โ
โ --json Output the updated collection as a raw JSON โ
โ object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection add-files
This command adds one or more files to a remote collection by their hash.
Example
Run dorsal collection add-files with the collection ID and the file hashes you wish to add.
You can provide one or more hashes via the --hash or -h arguments:
Output:
โญโโโโโโโ Update Complete โโโโโฎ
โ Operation complete. โ
โ Added: 1 โ
โ Duplicates ignored: 0 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
File Record Privacy and Collections
Public collections can only accept public file records.
If there is no public* record for a hash, then it cannot be added to a public** collection.
There are no such restrictions on private collections.
Options
-
Read a list of hashes (one per line) from standard input using
--from-stdin: -
Get the raw JSON API response:
CLI Docs
Usage: dorsal collection add-files [OPTIONS] COLLECTION_ID
Add one or more files to a remote collection by their hash.
You can provide hashes in multiple ways:
- Using multiple --hash options: --hash <hash1> --hash <hash2>
- Piping from another command: cat my_hashes.txt | dorsal collection
add-files <id> --from-stdin
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The ID of the collection to add files to. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --hash -h TEXT A file hash to add. This option can be used โ
โ multiple times. [default: None] โ
โ --from-stdin Read a list of hashes from standard input (one โ
โ hash per line). โ
โ --json Output the results as a raw JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection remove-files
This command removes one or more files from a remote collection by their hash.
Example
Run dorsal collection remove-files with the collection ID and the file hashes you wish to remove.
You can provide one or more hashes via the --hash or -h arguments:
Output:
โญโโโโโโโ Update Complete โโโโโฎ
โ Operation complete. โ
โ Removed: 1 โ
โ Not Found (Ignored): 0 โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
CLI Docs
Usage: dorsal collection remove-files [OPTIONS] COLLECTION_ID
Remove one or more files from a remote collection by their hash.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The ID of the collection to remove files from. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --hash -h TEXT A file hash to remove. This option can be used โ
โ multiple times. [default: None] โ
โ --from-stdin Read a list of hashes from standard input (one โ
โ hash per line). โ
โ --json Output the results as a raw JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection make-public
This command makes a collection public.
This command will fail if the collection:
- Does not belong to you
- Is already public
- Any of the the file hashes inside it do not match a public file record.
Public collections can be viewed by anyone.
Example
Run dorsal collection make-public with the ID of the collection you want to update:
Output (response containing the public collection URL):
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Update Complete โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Collection is now public. โ
โ โ
โ URL: http://dorsalhub.com/user/123456/collections/LdHMycfITeldtV63TjOJ73OEoHuybnRz โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Options
-
Get the raw JSON response of the updated collection:
CLI Docs
Usage: dorsal collection make-public [OPTIONS] COLLECTION_ID
Makes a remote collection public.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The ID of the collection to make public. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --json Output the updated collection as a raw JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection make-private
This command makes a collection private.
This command will fail if the collection:
- Does not belong to you
- Is already private
Example
Run dorsal collection make-private with the ID of the collection you want to update:
Output (response containing the private collection URL):
โญโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ Update Complete โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ Collection is now private. โ
โ โ
โ URL: http://dorsalhub.com/dashboard/collections/LdHMycfITeldtV63TjOJ73OEoHuybnRz โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
Options
-
Get the raw JSON response of the updated collection:
CLI Docs
Usage: dorsal collection make-private [OPTIONS] COLLECTION_ID
Makes a remote collection private.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The ID of the collection to make private. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --json Output the updated collection as a raw JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection export
This command allows you to download all file records in a collection at once.
The collection is downloaded to your local computer as a .json.gz file.
Example
Run dorsal collection export with the ID of the collection you wish to export:
It will show the progress and save the file to the default export directory.
It may take anything from few seconds to a few minutes to complete, depending on the size of the collection.
๐ฆ Starting export of collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz'.
Saving to: /home/user/.dorsal/export/LdHMycfITeldtV63TjOJ73OEoHuybnRz-20251031-221020.json.gz
Downloading... โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ 100% โข 0:00:10
โ
Export complete in 11.98s.
Export Quota
Exports are limited by user account status.
- Free: 5 exports per day
- Power User: 50 exports per day
- Business: 250 exports per day
Options
-
Specify a custom output directory with
-oor--output-dir: -
Get a JSON summary of the export operation instead of the progress bar:
CLI Docs
Usage: dorsal collection export [OPTIONS] COLLECTION_ID
Export all file records from a remote collection to a local file.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The unique ID of the collection to export. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --output-dir -o PATH Directory to save the export file. Defaults to โ
โ ~/.dorsal/exports/<collection_id>/ โ
โ --json Output a JSON summary of the export operation. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
dorsal collection delete
This command deletes a collection from DorsalHub.
This command only deletes the collection itself. It does not delete the file records it contains.
Example
Run dorsal collection delete with ID of the collection you wish to delete:
It will ask for confirmation. If you confirm, the collection will be deleted.
Are you sure you want to permanently delete collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz'? [y/N]: y
๐๏ธ Deleting collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz'...
โ
Collection 'LdHMycfITeldtV63TjOJ73OEoHuybnRz' was successfully deleted.
Options
-
Bypass the interactive confirmation prompt with
-yor--yes: -
Get a raw JSON response confirming the deletion:
CLI Docs
Usage: dorsal collection delete [OPTIONS] COLLECTION_ID
Permanently deletes a collection from DorsalHub.
โญโ Arguments โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ * collection_id TEXT The unique ID of the collection to delete. โ
โ [required] โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ
โญโ Options โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฎ
โ --yes -y Bypass the interactive confirmation prompt. Use โ
โ with caution. โ
โ --json Output the result as a raw JSON object. โ
โ --help Show this message and exit. โ
โฐโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโโ________________โโโโโโโโโโโโโโโโโโโโโโโโโโโโโโฏ