Difference between revisions of "Ipfs ls --help"
Jump to navigation
Jump to search
(Created page with "{{lc}} == See also == * {{ipfs}} Category:IPFS") |
|||
Line 1: | Line 1: | ||
{{lc}} | {{lc}} | ||
+ | |||
+ | USAGE | ||
+ | ipfs ls <ipfs-path>... - List directory contents for Unix | ||
+ | filesystem objects. | ||
+ | |||
+ | SYNOPSIS | ||
+ | ipfs ls [--headers | -v] [--resolve-type=false] | ||
+ | [--size=false] [--stream | -s] [--] <ipfs-path>... | ||
+ | |||
+ | ARGUMENTS | ||
+ | |||
+ | <ipfs-path>... - The path to the IPFS object(s) to list | ||
+ | links from. | ||
+ | |||
+ | OPTIONS | ||
+ | |||
+ | -v, --headers bool - Print table headers (Hash, Size, | ||
+ | Name). | ||
+ | --resolve-type bool - Resolve linked objects to find out | ||
+ | their types. Default: true. | ||
+ | --size bool - Resolve linked objects to find out | ||
+ | their file size. Default: true. | ||
+ | -s, --stream bool - Enable experimental streaming of | ||
+ | directory entries as they are | ||
+ | traversed. | ||
+ | |||
+ | DESCRIPTION | ||
+ | |||
+ | Displays the contents of an IPFS or IPNS object(s) at the given path, with | ||
+ | the following format: | ||
+ | |||
+ | <link base58 hash> <link size in bytes> <link name> | ||
+ | |||
+ | The JSON output contains type information. | ||
== See also == | == See also == |
Latest revision as of 08:57, 13 July 2023
USAGE ipfs ls <ipfs-path>... - List directory contents for Unix filesystem objects. SYNOPSIS ipfs ls [--headers | -v] [--resolve-type=false] [--size=false] [--stream | -s] [--] <ipfs-path>... ARGUMENTS <ipfs-path>... - The path to the IPFS object(s) to list links from.
OPTIONS
-v, --headers bool - Print table headers (Hash, Size, Name). --resolve-type bool - Resolve linked objects to find out their types. Default: true. --size bool - Resolve linked objects to find out their file size. Default: true. -s, --stream bool - Enable experimental streaming of directory entries as they are traversed.
DESCRIPTION
Displays the contents of an IPFS or IPNS object(s) at the given path, with the following format:
<link base58 hash> <link size in bytes> <link name>
The JSON output contains type information.
See also[edit]
Advertising: