Changes for page Working with HDC Project Files in the Command Line Interface
Last modified by Dennis Segebarth on 2024/10/02 18:38
Summary
-
Page properties (1 modified, 0 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -696,9 +696,31 @@ 696 696 File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file2 697 697 {{/code}} 698 698 699 -Download multiple files or folders as a compressed zip by simply providing all source files or folders and adding the ~-~-zip option:699 +Download multiple files or folders as a compressed zip by simply providing all source files or folders and adding the {{code}}--zip{{/code}} option: 700 700 701 +{{code language="none"}} 702 +$ pilotcli file sync cli/admin/sample_file2 cli/admin/sample_file7 -z core ~/Downloads/ --zip 703 +Preparing downloading 704 +Preparing status: READY_FOR_DOWNLOADING 705 +start downloading... 706 +Downloading cli_1632340658.768384.zip |██████████████████████████████ 100% 00:00 707 +File has been downloaded successfully and saved to: /home/uname/Downloads/cli_1632340658.768384.zip 708 +{{/code}} 701 701 710 +Download files or folders by their geid, instead of their location. To enable this, add {{code}}-i{{/code}} or {{code}}--geid{{/code}} to the command: 711 + 712 +{{code language="none"}} 713 +$ pilotcli file sync -i 6d89afd4-f86e-4df7-b6c5-01a9af4e828e-1627499957 7e8e2bac-97c6-4738-bc08-12139c9ba225-1627498854 ~/Downloads/ 714 +Preparing status: READY_FOR_DOWNLOADING 715 +start downloading... 716 +Downloading sample_file7 |██████████████████████████████ 100% 00:00 717 +File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file7 718 +Preparing status: READY_FOR_DOWNLOADING 719 +start downloading... 720 +Downloading sample_file2 |██████████████████████████████ 100% 00:00 721 +File has been downloaded successfully and saved to: /home/uname/Downloads/sample_file2 722 +{{/code}} 723 + 702 702 ---- 703 703 704 704 - ... ... @@ -708,5 +708,4 @@ 708 708 709 709 Copyright © 2023 [[Indoc Research>>url:https://www.indocresearch.org/]]. 710 710 711 -HealthDataCloud is powered by Pilot technology, a product of [[Indoc Research>>url:https://www.indocresearch.org/]].{{/code}} 712 - 733 +HealthDataCloud is powered by Pilot technology, a product of [[Indoc Research>>url:https://www.indocresearch.org/]].