Skip to content

Remote Records

The dorsal record command group allows you to view, search, and manage the file metadata records on DorsalHub.

This is how you interact with the metadata for your files after they have been pushed using the dorsal file push or dorsal dir push commands.

This guide covers the five sub-commands:

  1. get: Retrieve a single, complete record by its hash.
  2. search: Search all your records.
  3. delete: Delete a record and its associated data from DorsalHub.
  4. tag add: Add tags to a remote record.
  5. tag rm: Delete tags from a remote record.

dorsal record get

This command retrieves a single file record from DorsalHub via its hash (e.g., SHA-256)

Example

  1. Find the hash of a file you indexed earlier, or just use this one:

    3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368
    
  2. Run dorsal record get with the hash:

    dorsal record get 3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368
    

If found, you'll see a panel with the full record from DorsalHub.

๐Ÿ”Ž Searching for file record with hash
3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368
โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ File Record: PDFSPEC.pdf โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚                                                                                            โ”‚
โ”‚    Hashes                                                                                  โ”‚
โ”‚       SHA-256:  3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368           โ”‚
โ”‚          TLSH:  T13465D67BB4C61D6DF893CA46571C579B8B0D71533BAEA58604BDAF0AC6338029AC3F41   โ”‚
โ”‚                                                                                            โ”‚
โ”‚    File Info                                                                               โ”‚
โ”‚          Name:  PDFSPEC.pdf                                                                โ”‚
โ”‚          Size:  1 MiB                                                                      โ”‚
โ”‚    Media Type:  application/pdf                                                            โ”‚
โ”‚                                                                                            โ”‚
โ”‚    Tags                                                                                    โ”‚
โ”‚      language:    English (private) [id: 69035139793ae72b07f05380]                         โ”‚
โ”‚                                                                                            โ”‚
โ”‚    Pdf Info                                                                                โ”‚
โ”‚            author:  Tim Bienz, Richard Cohn, James R. Meehan                               โ”‚
โ”‚             title:  Portable Document Format Reference Manual (v 1.2)                      โ”‚
โ”‚           creator:  FrameMaker 5.1.1                                                       โ”‚
โ”‚          producer:  Acrobat Distiller 3.0 for Power Macintosh                              โ”‚
โ”‚           subject:  Description of the PDF file format                                     โ”‚
โ”‚          keywords:  Acrobat PDF                                                            โ”‚
โ”‚           version:  1.2                                                                    โ”‚
โ”‚        page_count:  394                                                                    โ”‚
โ”‚     creation_date:  1996-11-12T03:08:43Z                                                   โ”‚
โ”‚     modified_date:  1996-11-12T07:58:15Z                                                   โ”‚
โ”‚                                                                                            โ”‚
โ”‚                                                                                            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

dorsal file scan vs dorsal record get

The output from these two commands looks almost identical, but there are some differences:

  1. User-contributed tags and annotations are retrieved when you run dorsal record get (note the language tag in the example). This includes public tags and annotations contributed by other users who have indexed the same file.

  2. Some fields, such as the local file path and date modified are present when you run dorsal file scan but not when you run dorsal record get. This is because these fields are not stored on DorsalHub, as they are are typically system-specific.

Options

  • Search only your privately indexed records:

    dorsal record get <hash> --private
    
  • Search only public records:

    dorsal record get <hash> --public
    
  • Output the full, raw JSON to your terminal with --json:

    dorsal record get <hash> --json
    
  • Save the full JSON record to a file with -s or --save:

    dorsal record get <hash> -s
    
  • Specify a custom output file path for the JSON report:

    dorsal record get <hash> -o "my-record.json"
    

CLI Docs

 Usage: dorsal record get [OPTIONS] HASH_STRING                                

 Get a single file record from DorsalHub by its hash.                         
 By default, searches for records you have access to (both public and         
 private).                                                                    

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ * hash_string      TEXT  The hash (e.g., SHA256) of the file to find.       โ”‚
โ”‚                          [required]                                         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --help          Show this message and exit.                                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Search Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --private             Restrict search to only your private file records.    โ”‚
โ”‚ --public              Restrict search to only public file records.          โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Output Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --json                  Output the full metadata as a raw JSON object.      โ”‚
โ”‚ --save    -s            Save the JSON record to the default directory or    โ”‚
โ”‚                         --output path.                                      โ”‚
โ”‚ --output  -o      PATH  Path to save the output JSON file.                  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Alias: dorsal search

This command searches across all records you have indexed to DorsalHub (either public or private).

You can also search all public records indexed by other users on the platform, as a premium feature.

Example

  1. Run dorsal record search with a query string:

    dorsal record search "pdf data science"
    

    You can also use the shorter dorsal search alias:

    dorsal search "pdf data science"
    

    By default this search is limited to files you have indexed.

  2. To search across all files indexed publicly across DorsalHub pass -g or --global (requires a premium subscription):

    dorsal record search "pdf data science" --global
    
    You can also use use the shorter dorsal search alias:

    dorsal search "pdf data science" --global
    
  3. When a search is complete it will display a paginated table of results:

    ๐Ÿ”Ž Searching user scope for records matching: 'pdf data science'
                                                        User Search Results
    โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ณโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”“
    โ”ƒ Name                        โ”ƒ    Size โ”ƒ Media Type      โ”ƒ SHA256 Hash                                                        โ”ƒ
    โ”กโ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ•‡โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”โ”ฉ
    โ”‚ 2015 Gopi Subramanian -     โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ Python Data Science         โ”‚   4 MiB โ”‚ application/pdf โ”‚ e23a2a882d8c11c200d7a1c547d2114e8968cc4ad0952c5f882cf7a24dab79d2   โ”‚
    โ”‚ Cookbook_Rsll.pdf           โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ 2017 Thomas Mailund -       โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ Beginning Data Science in   โ”‚   6 MiB โ”‚ application/pdf โ”‚ 8ff5d5f21ffa76b7ac9cd91d46a9c881cf4ab9b84582cb93f779a034a4200306   โ”‚
    โ”‚ R.pdf                       โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ Data Science from Scratch - โ”‚   5 MiB โ”‚ application/pdf โ”‚ 403d83d625362987cc0d9a45db4a55e282f3cc7c1f52e4dfdcdb18c48a3b7e28   โ”‚
    โ”‚ Joel Grus.pdf               โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ data_science-booklet-16-17โ€ฆ โ”‚ 956 KiB โ”‚ application/pdf โ”‚ 93ed9a7b53c44116cbecf607f5bfd39c2a6cbef1e158d7fcbd6865d47819aa9f   โ”‚
    โ”‚ Python Data Science         โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ Handbook - Jake             โ”‚  20 MiB โ”‚ application/pdf โ”‚ a1697546c691e0d29ce01fa5b34d41daa96fe0cd9f1138239258a6f6f7d2b39d   โ”‚
    โ”‚ VanderPlas.pdf              โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ R for Data Science - Hadley โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ”‚ Wickham, Garrett            โ”‚  32 MiB โ”‚ application/pdf โ”‚ 70c480a8ae6e148e04e3bb04dee343f48cf86e1b9179430e8da30577e3b76be5   โ”‚
    โ”‚ Grolemu.pdf                 โ”‚         โ”‚                 โ”‚                                                                    โ”‚
    โ””โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”ดโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”˜
    Search powered by DorsalHub Search 0.1 beta. For search syntax, visit: https://docs.dorsalhub.com/search
    Showing page 1 of 1 | Displaying records 1 - 6 of 6 total.
    

Options

  • Perform a global search across all public files (Premium feature) with --global or -g:

    dorsal record search "cve-2025" -g
    
  • Fetch a specific page of results with -p or --page:

    dorsal record search "report" -p 2
    
  • Change the number of results per page:

    dorsal record search "report" --per-page 50
    
  • Sort results by a different field (e.g., size):

    dorsal record search "media" --sort-by size --sort-order asc
    
  • Output the full, raw JSON results to your terminal with --json:

    dorsal record search "pdf" --json
    
  • Save the JSON results to a file with -s or --save:

    dorsal record search "pdf" -s
    

CLI Docs

 Usage: dorsal record search [OPTIONS] QUERY                                   

 Search DorsalHub file records.                                               

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ * query       TEXT  The search query string. Queries with spaces must be    โ”‚
โ”‚                     enclosed in quotes. [required]                          โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --help          Show this message and exit.                                 โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Search Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --global   -g         Perform a global search across all public files       โ”‚
โ”‚                       (Premium).                                            โ”‚
โ”‚ --page     -p  INTEGER  The page number of results to display. [default: 1] โ”‚
โ”‚ --per-page   INTEGER  The number of results to display per page.            โ”‚
โ”‚                       [default: 30]                                         โ”‚
โ”‚ --sort-by    TEXT     Field to sort results by. [default: date_modified]    โ”‚
โ”‚ --sort-order TEXT     Sort order ('asc' or 'desc'). [default: desc]         โ”‚
โ”‚ --or                  Use OR logic for the query. By default, multiple      โ”‚
โ”‚                       terms are combined with AND.                          โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Output Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --json                Output results as a raw JSON object.                  โ”‚
โ”‚ --save     -s         Save the JSON search results to the default           โ”‚
โ”‚                       directory or --output path.                           โ”‚
โ”‚ --output   -o    PATH   Custom path to save the JSON search results (e.g.,  โ”‚
โ”‚                       'results.json').                                      โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

dorsal record delete

Use this command to delete a file record by its hash. This command will also delete any tags or annotations you added to the file record.

You can pass arguments to only delete the record itself, or only the tags or annotations, but by default it deletes everything.

Example

  1. Run dorsal record delete on a file hash. It will first show you what will be deleted and ask for confirmation.

    dorsal record delete 3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368
    
    ๐Ÿ”Ž Finding record to delete...
    โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ File Record: PDFSPEC.pdf โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
    โ”‚                                                                                            โ”‚
    โ”‚    Hashes                                                                                  โ”‚
    โ”‚       SHA-256:  3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368           โ”‚
    โ”‚          TLSH:  T13465D67BB4C61D6DF893CA46571C579B8B0D71533BAEA58604BDAF0AC6338029AC3F41   โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚    File Info                                                                               โ”‚
    โ”‚          Name:  PDFSPEC.pdf                                                                โ”‚
    โ”‚          Size:  1 MiB                                                                      โ”‚
    โ”‚    Media Type:  application/pdf                                                            โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚    Tags                                                                                    โ”‚
    โ”‚      language:    English (private) [id: 69035139793ae72b07f05380]                         โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚    Pdf Info                                                                                โ”‚
    โ”‚            author:  Tim Bienz, Richard Cohn, James R. Meehan                               โ”‚
    โ”‚             title:  Portable Document Format Reference Manual (v 1.2)                      โ”‚
    โ”‚           creator:  FrameMaker 5.1.1                                                       โ”‚
    โ”‚          producer:  Acrobat Distiller 3.0 for Power Macintosh                              โ”‚
    โ”‚           subject:  Description of the PDF file format                                     โ”‚
    โ”‚          keywords:  Acrobat PDF                                                            โ”‚
    โ”‚           version:  1.2                                                                    โ”‚
    โ”‚        page_count:  394                                                                    โ”‚
    โ”‚     creation_date:  1996-11-12T03:08:43Z                                                   โ”‚
    โ”‚     modified_date:  1996-11-12T07:58:15Z                                                   โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚                                                                                            โ”‚
    โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
    โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Action Summary โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
    โ”‚                                                                                                   โ”‚
    โ”‚  For the hash 3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368... this operation  โ”‚
    โ”‚  will:                                                                                            โ”‚
    โ”‚  - Delete both public and private records                                                         โ”‚
    โ”‚  - Delete your public and private tags                                                            โ”‚
    โ”‚  - Delete your public and private annotations                                                     โ”‚
    โ”‚                                                                                                   โ”‚
    โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
    Are you sure you want to perform this deletion operation?  [y/N]:
    
  2. If you confirm, the record will be deleted from DorsalHub:

    ๐Ÿ—‘๏ธ Deleting record 3383fb2ab568ca7019834d438f9a14b9d2ccaa2f37f319373848350005779368
    โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ Deletion Complete โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
    โ”‚ 1 record(s) permanently deleted.      โ”‚
    โ”‚                                       โ”‚
    โ”‚ Removed 1 tag(s) and 1 annotation(s). โ”‚
    โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
    

Options

  • Delete only the private record, leaving the public one (if it exists):

    dorsal record delete <hash> --record private
    
  • Delete only the public record, leaving the private one (if it exists):

    dorsal record delete <hash> --record private
    
  • Delete only your public tags, leaving your private tags and all records:

    dorsal record delete <hash> --record none --tags public --annotations none
    
  • Skip the interactive confirmation prompt:

    dorsal record delete <hash> -y
    
  • Output the raw JSON API response:

    dorsal record delete <hash> --json
    

CLI Docs

 Usage: dorsal record delete [OPTIONS] HASH_STRING                              

 Deletes a file record and/or its associated data from DorsalHub with         
 granular control.                                                            

 The default behavior is a "full clean", targeting all records, tags, and     
 annotations associated with the user for the given hash.                     

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ * hash_string      TEXT  The hash of the file record to delete. [required]  โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --record      [all|public|private|none]                                     โ”‚
โ”‚                       Specify which core file record(s) to delete.          โ”‚
โ”‚                       [default: all]                                        โ”‚
โ”‚ --tags        [all|public|private|none]                                     โ”‚
โ”‚                       Specify which of the user's tags to delete for this   โ”‚
โ”‚                       hash. [default: all]                                  โ”‚
โ”‚ --annotations [all|public|private|none]                                     โ”‚
โ”‚                       Specify which of the user's annotations to delete     โ”‚
โ”‚                       for this hash. [default: all]                         โ”‚
โ”‚ --yes     -y            Bypass the interactive confirmation prompt. Use     โ”‚
โ”‚                       with caution.                                         โ”‚
โ”‚ --json                  Output result as a raw JSON object.                 โ”‚
โ”‚ --help                  Show this message and exit.                         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

dorsal record tag add

This command adds a new tag to a file record on DorsalHub.

As with other commands for adding metadata, tags are created as private by default.

You can add tags in two ways:

  1. Labels Tags: Add a private label to a file record (e.g., "urgent", "complete"). These are tags in the label namespace and are always private.
  2. Key-Value Tags: The tag's name and its value, e.g. "language:eng" or "corrupted:true".

Private vs. Public Tags

  • Private tags are free-form, meaning you can provide any name and value you like (e.g., my_project:alpha, q3status:in-progress).
  • Public tags are more restricted. There are a limited number of possible public tags (e.g. language).

To learn more about the tag system, including what public tags are allowed, see: Tagging Guide

Example

  1. Add a private tag genre:Sci-Fi to a file record:

    The private genre tag is a freeform field, meaning you can provide any value for it.

    "genre" is the name of the tag we are adding, which "Sci-Fi" is its value.

    dorsal record tag add c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 -n "genre" -v "Sci-Fi"
    
    โœ๏ธ  Adding private tag to file c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3...
    โœ… Successfully added tag 'genre:Sci-Fi'.
    
  2. Add a private label tag to-read to a File Record:

    You can label any document with a short word or phrase (like "to-read", "urgent", or "review"). This automatically creates a private tag with the name label and your value.

    dorsal record tag add c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 "urgent"
    
    โœ๏ธ  Adding private tag 'urgent' (label) to file c77c02b5...
    โœ… Successfully added tag 'label:urgent'.
    

    Note: this is equivalent to running:

    dorsal record tag add c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 --name="label" --value="urgent"
    
  3. You can confirm the tag exists by retrieving the record again

    dorsal record get c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3
    

    You will see the record in the terminal, with the tag you just added:

    ๐Ÿ”Ž Searching for file record with hash c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3
    โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ File Record: Snow Crash - Neal Stephenson.epub โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
    โ”‚                                                                                            โ”‚
    โ”‚   Hashes                                                                                   โ”‚
    โ”‚       SHA-256:  c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3           โ”‚
    โ”‚          TLSH:  T135F422335C5D4B84C60F2EB9250778585A7C83D9EA10D80BAFB3D6A524F16F1172F3AA   โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚   File Info                                                                                โ”‚
    โ”‚          Name:  Snow Crash - Neal Stephenson.epub                                          โ”‚
    โ”‚          Size:  757 KiB                                                                    โ”‚
    โ”‚    Media Type:  application/epub+zip                                                       โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚   Tags                                                                                     โ”‚
    โ”‚       genre:    Sci-Fi (private) [id: 6903b66b3dd03157960df671]                            โ”‚
    โ”‚       label:    to-read (private) [id: 6903b66b3dd03157960df672]                           โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚   Ebook Info                                                                               โ”‚
    โ”‚                 title:  Snow Crash                                                         โ”‚
    โ”‚               authors:  Neal Stephenson                                                    โ”‚
    โ”‚             publisher:  Random House Publishing Group                                      โ”‚
    โ”‚              language:  eng                                                                โ”‚
    โ”‚                rights:  Copyright 1992                                                     โ”‚
    โ”‚                  isbn:  9780553898194                                                      โ”‚
    โ”‚            cover_path:  OEBPS/images/Step_9780553898194_epub_cvi_r1.jpg                    โ”‚
    โ”‚      publication_date:  2003-08-26T00:00:00Z                                               โ”‚
    โ”‚                                                                                            โ”‚
    โ”‚                                                                                            โ”‚
    โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
    

Options

  • Add a public tag (public tags visible to anyone who can view the file record):

    dorsal record tag add <hash> -n <tag> -v <value> --public
    
  • Output the raw JSON for the API response:

    dorsal record tag add <hash> -n <tag> -v <value> --json
    

CLI Docs

 Usage: dorsal record tag add [OPTIONS] HASH_STRING [LABEL]

 Adds a public or private tag to a file record on DorsalHub.

 You can add tags in two ways:

 1. Simple Label (Private Only):
    dorsal tag add <hash> urgent -> Creates 'label:urgent'

 2. Key-Value Pair (Private or Public):
    dorsal tag add <hash> --name genre --value sci-fi                 

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ * hash_string      TEXT  The hash of the file to tag. [required]            โ”‚
โ”‚   label            TEXT  A simple private label (e.g. 'urgent'). Maps to    โ”‚
โ”‚                          'label:urgent'. [default: None]                    โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --name    -n      TEXT  The name of the tag (e.g. 'genre').                 โ”‚
โ”‚ --value   -v      TEXT  The value for the tag (e.g. 'SciFi').               โ”‚
โ”‚ --public                Create a public tag.                                โ”‚
โ”‚ --json                  Output result as a raw JSON object.                 โ”‚
โ”‚ --help                  Show this message and exit.                         โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

dorsal record tag rm

This command removes a tag from a file record. To remove a tag, you must provide its unique tag ID.

You can only remove tags you added.

The tag ID is always displayed alongside the tag, and you can get it by running dorsal record get on the file hash.

Example

  1. First, use dorsal record get to show the record, including all tags.:

    dorsal record get c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3
    

    In this example we will remove the genre tag, which has the tag ID of 6903b66b3dd03157960df671

    ```text ๐Ÿ”Ž Searching for file record with hash c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ File Record: Snow Crash - Neal Stephenson.epub โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ Hashes โ”‚ โ”‚ SHA-256: c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 โ”‚ โ”‚ TLSH: T135F422335C5D4B84C60F2EB9250778585A7C83D9EA10D80BAFB3D6A524F16F1172F3AA โ”‚ โ”‚ โ”‚ โ”‚ File Info โ”‚ โ”‚ Name: Snow Crash - Neal Stephenson.epub โ”‚ โ”‚ Size: 757 KiB โ”‚ โ”‚ Media Type: application/epub+zip โ”‚ โ”‚ โ”‚ โ”‚ Tags โ”‚ โ”‚ genre: Sci-Fi (private) [id: 6903b66b3dd03157960df671] โ”‚ โ”‚ โ”‚ โ”‚ Ebook Info โ”‚ โ”‚ title: Snow Crash โ”‚ โ”‚ authors: Neal Stephenson โ”‚ โ”‚ publisher: Random House Publishing Group โ”‚ โ”‚ language: eng โ”‚ โ”‚ rights: Copyright 1992 โ”‚ โ”‚ isbn: 9780553898194 โ”‚ โ”‚ cover_path: OEBPS/images/Step_9780553898194_epub_cvi_r1.jpg โ”‚ โ”‚ publication_date: 2003-08-26T00:00:00Z โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

  2. Run dorsal record tag rm with the file hash and mandatory --tag-id argument

    dorsal record tag rm c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 --tag-id 6903b66b3dd03157960df671
    

    This will then inform you of the success.

    ๐Ÿ—‘๏ธ  Removing tag 6903b66b3dd03157960df671 from file c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3...
    โœ… Successfully removed tag '6903b66b3dd03157960df671'.
    
  3. We can run dorsal record get again to confirm the tag is now gone.

    dorsal record get c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3
    

    And we can see that the tag is no longe present.

    ```text ๐Ÿ”Ž Searching for file record with hash c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 โ•ญโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€ File Record: Snow Crash - Neal Stephenson.epub โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ โ”‚ โ”‚ โ”‚ Hashes โ”‚ โ”‚ SHA-256: c77c02b50c88d1ec8e07abadb18d104de5146e3eb7b434a67985e99ba84badb3 โ”‚ โ”‚ TLSH: T135F422335C5D4B84C60F2EB9250778585A7C83D9EA10D80BAFB3D6A524F16F1172F3AA โ”‚ โ”‚ โ”‚ โ”‚ File Info โ”‚ โ”‚ Name: Snow Crash - Neal Stephenson.epub โ”‚ โ”‚ Size: 757 KiB โ”‚ โ”‚ Media Type: application/epub+zip โ”‚ โ”‚ โ”‚ โ”‚ Tags โ”‚ โ”‚ โ”‚ โ”‚ Ebook Info โ”‚ โ”‚ title: Snow Crash โ”‚ โ”‚ authors: Neal Stephenson โ”‚ โ”‚ publisher: Random House Publishing Group โ”‚ โ”‚ language: eng โ”‚ โ”‚ rights: Copyright 1992 โ”‚ โ”‚ isbn: 9780553898194 โ”‚ โ”‚ cover_path: OEBPS/images/Step_9780553898194_epub_cvi_r1.jpg โ”‚ โ”‚ publication_date: 2003-08-26T00:00:00Z โ”‚ โ”‚ โ”‚ โ”‚ โ”‚ โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

Options

  • Output the raw JSON API response:

    dorsal record tag rm <hash> --tag-id "tag_abc123" --json
    

CLI Docs

 Usage: dorsal record tag rm [OPTIONS] HASH_STRING                              

 Removes a specific tag from a file record using its unique ID.               

โ•ญโ”€ Arguments โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ * hash_string      TEXT  The hash of the file record. [required]            โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ
โ•ญโ”€ Options โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฎ
โ”‚ --tag-id    TEXT  The unique ID of the tag to remove. [required]            โ”‚
โ”‚ --json            Output result as a raw JSON object.                       โ”‚
โ”‚ --help            Show this message and exit.                               โ”‚
โ•ฐโ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ”€โ•ฏ

โžก๏ธ Continue to: dorsal collection Guide