Overview
Syntax
Arguments
Notes
Examples
Overview
create new folder. Empty file which ends with slash [/]
Syntax
mkfol <FOLDER_NAME> [--region NAME] [-d|--cd] [-c|--continue-onerror]
[--auth NAME] [--accesskey YOUR_ACCESS_KEY]
[--secretkey YOUR_SECRET_KEY] [--serviceurl URL] [--threads COUNT]
[--consoleout FILEPATH] [-v|--verbose] [-w|--wait] [-i|--interactive]
Arguments
Parameter |
Description |
<FOLDER_NAME> |
New folder name |
--region NAME |
Region where requests should be redirected. If you don't specify region then all requests are first directed to US Standard Region (us-east-1) for name resolution. If you want to create new bucket in a specific region or you want to reduce latency in name resolution then specify this parameter.. Possible values are [us-west-1 | us-west-2 | eu-west-1 | eu-central-1 | ap-southeast-1 | ap-southeast-2 | ap-northeast-1 | sa-east-1] |
-d | --cd |
Change current directory to new bucket once command completes |
-c | --continue-onerror |
Continue on error such as specified file is missing at source |
--auth NAME |
Credential entry name. This entry name must exist (previously saved using setauth command) |
--accesskey YOUR_ACCESS_KEY |
Cloud account access key |
--secretkey YOUR_SECRET_KEY |
Cloud account secret key |
--serviceurl URL |
Service url for cloud service e.g. --serviceurl https://s3-us-west-2.amazonaws.com |
--threads COUNT |
Number of concurrent operations. If you don't specify then system will use default settings to optimize transfer. |
--consoleout FILEPATH |
Captures console output and saves to file |
-v | --verbose |
Log verbosity level. -v means detailed, If you don't specify this option then minimum logging will be done. |
-w | --wait |
Wait for user input before exit |
-i | --interactive |
Continue in interactive mode after this command is completed. This switch is not applicable if you already in interactive mode |
Notes
Examples
Examples |
create folder at specified location. Throw error if folder already exists
mkfol mybucket/foldername |
create folder at specified location. continue without error if folder already exists
mkfol mybucket/foldername -y |
www.zappysys.com | Products | All copyrights reserved. ZappySys LLC.