kbc remote file download [id] [flags]
-H, --storage-api-host <string>
connection.keboola.com
-o, --output <string>
-
, output goes to stdout
without any extra text, so the command is pipeable.--allow-sliced
By default, sliced files are stitched together to form a single file. If this flag is set when downloading a sliced file, the resulting file will instead be stored as a directory, and each slice will be stored as a separate file in that directory.
➜ $ kbc remote file download 1234567 -o name
File "1234567" downloaded to "name.csv".
If you don’t specify the file ID, the command will let you select a file by name.
➜ $ kbc remote file download
? File: <selection prompt>
? Enter a name for the destination:
File "1234567" downloaded to "name.csv"
If you specify -
as output, the file will be printed to standard output.
➜ kbc remote file download 1234567 -o -
col1,col2,col3
val1,val2,val3
...
© 2024 Keboola