comparison doc/libervia-cli/file.rst @ 3573:813595f88612

merge changes from main branch
author Goffi <goffi@goffi.org>
date Thu, 17 Jun 2021 13:05:58 +0200
parents 267e4987b58b
children
comparison
equal deleted inserted replaced
3541:888109774673 3573:813595f88612
29 29
30 By default the name of the source file is used, but you use ``-n NAME, --name NAME`` to 30 By default the name of the source file is used, but you use ``-n NAME, --name NAME`` to
31 specify another one. 31 specify another one.
32 32
33 The path and namespace (set with ``-d PATH, --path PATH`` and ``-N NAMESPACE, --namespace 33 The path and namespace (set with ``-d PATH, --path PATH`` and ``-N NAMESPACE, --namespace
34 NAMESPACE``) are non-standard metadata used by SàT to organise files (``PATH`` being like 34 NAMESPACE``) are non-standard metadata used by Libervia to organise files (``PATH`` being like
35 a file path on locale file system, and ``NAMESPACE`` being a name to associate to a group 35 a file path on locale file system, and ``NAMESPACE`` being a name to associate to a group
36 of files, for instance for a photo album). 36 of files, for instance for a photo album).
37 37
38 examples 38 examples
39 -------- 39 --------
54 54
55 Ask to get a file from a device/sharing service. A file is requested using one or more 55 Ask to get a file from a device/sharing service. A file is requested using one or more
56 metadata, which can be the file name (with ``-n NAME, --name NAME``), its hash (with ``-H 56 metadata, which can be the file name (with ``-n NAME, --name NAME``), its hash (with ``-H
57 HASH, --hash HASH`` and the algorithm may be specified with ``-a HASH_ALGO, --hash-algo 57 HASH, --hash HASH`` and the algorithm may be specified with ``-a HASH_ALGO, --hash-algo
58 HASH_ALGO``), its path (with ``-d PATH, --path PATH``) and its namespace (with ``-N 58 HASH_ALGO``), its path (with ``-d PATH, --path PATH``) and its namespace (with ``-N
59 NAMESPACE, --namespace NAMESPACE``). Note that ``PATH`` and ``NAMESPACE`` are SàT specific 59 NAMESPACE, --namespace NAMESPACE``). Note that ``PATH`` and ``NAMESPACE`` are Libervia specific
60 and not (yet?) XMPP standards. 60 and not (yet?) XMPP standards.
61 61
62 If you already know the hash, it's the most efficient and recommended way to retrieve a 62 If you already know the hash, it's the most efficient and recommended way to retrieve a
63 file. 63 file.
64 64