...
How to list objects in
aria-share
bucket [3]Code Block aws s3 ls s3://aria-share --recursive --human-readable --summarize
How to upload and download content from
aria-share
bucket [4,5]How to upload file to ARIA-share bucket
Code Block aws s3 cp /PATH/OF/FILE_TO_UPLOAD s3://aria-share
How to upload directory to ARIA-share bucket
Code Block aws s3 sync /PATH/OF/DIRECTORY_TO_UPLOAD s3://aria-share
How to download file from ARIA-share bucket
Code Block aws s3 cp s3://aria-share/FILE_TO_DOWNLOAD /PATH/TO/DIRECTORY
How to download directory from ARIA-share bucket
Code Block aws s3 sync s3://aria-share/DIRECTORY_TO_DOWNLOAD /PATH/TO/DIRECTORY
Here are a few flags to use to help make uploads and downloads more efficient
--dryrun
(boolean) Displays the operations that would be performed using the specified command without actually running them.--include
(string) Don't exclude files or objects in the command that match the specified pattern. See Use of Exclude and Include Filters for details.--exclude
(string) Exclude all files or objects from the command that matches the specified pattern.
How to remove content from
aria-share
bucket [6]How to delete a file to ARIA-share bucket
Code Block aws s3 rm s3://aria-share/FILE_TO_DELETE
How to delete multiple files in a directory from ARIA-share bucket
Code Block aws s3 rm s3://aria-share/DIRECTORY_TO_DELETE_FILES_FROM/ --recursive
How to delete a directory and it content from ARIA-share bucket (difference between previous command “b” is the removal of the tailing “/”)
Code Block aws s3 rm s3://aria-share/DIRECTORY_TO_DELETE --recursive