-
Notifications
You must be signed in to change notification settings - Fork 13
Description
Rationale: sometimes I want to create downloadable archives and this saves having to re-upload the file into the archive which saves Internxt web bandwidth and everyone time since it won't even need to be re-encrypted.
It would works just like move with respect to cli invocation:
internxt copy-file
Copy a file into a destination folder.
USAGE
$ internxt copy-file [--json] [-x] [-i <value>] [-d <value>]
FLAGS
-d, --destination=<value> The destination folder id where the file is going to be copied. Leave empty for the root folder.
-i, --id=<value> The ID of the file to be copied.
HELPER FLAGS
-x, --non-interactive Prevents the CLI from being interactive. When enabled, the CLI will not request input through the console and will throw errors directly.
GLOBAL FLAGS
--json Format output as json.
DESCRIPTION
Copy a file into a destination folder.
ALIASES
$ internxt copy file
EXAMPLES
$ internxt copy-file