kbc remote file upload [flags]
-H, --storage-api-host <string>
connection.keboola.com
--data <string>
-
, input is expected from standard input, so the command is pipeable.--file-name <string>
--file-tags <string>
➜ $ kbc remote file upload --name file1 --data ./name.csv --tags tag1,tag2
File "file1" uploaded with file id "1234567".
If you don’t specify the options, the command will ask you for them.
➜ $ kbc remote file upload
? Enter a name for the file: file1
Enter a path for the file input or - to read from standard input.
? File: name.csv
Enter a comma-separated list of tags.
? Tags: tag1,tag2
File "file1" uploaded with file id "1234567".
If you specify -
as input, the file will be read from standard input.
➜ cat ./name.csv | kbc remote file upload --file-name file1 --data -
File "file1" uploaded with file id "1234567".
© 2024 Keboola