Last modified by Dennis Segebarth on 2024/10/02 18:38

From version 1.11
edited by Susan Evans
on 2023/07/10 22:32
Change comment: (Autosaved)
To version 1.10
edited by Susan Evans
on 2023/07/10 22:30
Change comment: (Autosaved)

Summary

Details

Page properties
Content
... ... @@ -721,68 +721,6 @@
721 721  File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file2
722 722  {{/code}}
723 723  
724 -Download a file or folder from the Green Room of a Project. This will only be possible if pilotcli is used within the Platform, e.g. in one of the Workspace tools. It works the same way as downloading from Core, including all the additional options like zipping, by either adding {{code}}-z greenroom{{/code}} or by omitting the {{code}}-z{{/code}} option entirely, as “greenroom” is the default value:
725 -
726 -{{code language="none"}}
727 -$ pilotcli file sync cli/admin/sample_file2 cli/admin/sample_file7 ~/Downloads
728 -Preparing status: READY_FOR_DOWNLOADING
729 -/home/uname/Downloads/sample_file2 already exist, file will be saved as /home/uname/Downloads/sample_file2 (1)
730 -start downloading...
731 -Downloading sample_file2 (1) |██████████████████████████████ 100% 00:00
732 -File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file2 (1)
733 -Preparing status: READY_FOR_DOWNLOADING
734 -start downloading...
735 -Downloading sample_file7 |██████████████████████████████ 100% 00:00
736 -File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file7
737 -{{/code}}
738 -
739 -= Dataset Commands: pilotcli **dataset** =
740 -
741 -== Help ==
742 -
743 -{{code language="none"}}
744 -$ pilotcli dataset --help
745 -Usage: pilotcli dataset [OPTIONS] COMMAND [ARGS]...
746 -
747 -Options:
748 - --help Show this message and exit.
749 -
750 -Commands:
751 - download Download a dataset or a particular version of a dataset.
752 - list List datasets belonging to logged in user.
753 - show-detail Show details of a dataset.
754 -{{/code}}
755 -
756 -== Command: **list** ==
757 -
758 -* **Usage**: List all datasets for the logged in user
759 -* (((
760 -**Prerequisite**:
761 -
762 -* User login is required, otherwise an error is returned: "The current login session is invalid. Please login to continue."
763 -)))
764 -
765 -{{code language="none"}}
766 -$ pilotcli dataset list --help
767 -Usage: pilotcli dataset list [OPTIONS]
768 -
769 - List datasets belonging to logged in user.
770 -
771 -Options:
772 - --page INTEGER The page to be listed [default: 0]
773 - --page-size INTEGER number of objects per page [default: 10]
774 - -d, --detached whether run in detached mode
775 - --help Show this message and exit.
776 -{{/code}}
777 -
778 -=== Examples ===
779 -
780 -List all datasets that are accessible for the user:
781 -
782 -
783 -
784 -
785 -
786 786  ----
787 787  
788 788  -