Impossible Cloud Documentation
  • Company overview
    • What is Impossible Cloud
  • Getting Started
    • Getting Started with Impossible Cloud Storage
      • Setting up
      • Next steps
      • Getting support
  • Feature Release Notes
    • 29th April 2025
  • Impossible cloud storage Guide
    • Storage Console URLs and API Endpoints
    • Storage Console
      • Accessing the console
        • Signing up for Impossible Cloud Storage
        • Signing in to Impossible Cloud Storage
        • Session lifetime limits
      • Interacting with the console
        • Navigating the menu
        • Using the panel
    • Buckets and Objects
      • Creating a bucket
      • Storing objects in a bucket
      • Interacting with objects
      • Creating folders in a bucket
      • Interacting with folders and buckets
      • Public File Sharing via URLs
      • Emptying a Bucket
      • Limitations
      • Versioning and object lock
        • Enabling versioning
        • Using versioning
        • Enabling object lock
        • Using object lock
    • Access keys
    • CLI User Guide
      • AWS CLI installation instructions
      • AWS CLI configuration
      • Using Impossible Cloud with AWS CLI
      • AWS CLI basic commands
      • AWS CLI advanced commands
        • Examples
      • AWS CLI for cloud-to-cloud migration scenarios
      • AWS CLI Credentials & Config chain
      • AWS CLI: IAM
        • Limitations
        • List of supported operations
        • Operations Descriptions and Examples
    • Usage
      • Storage Calculation
      • Fair use policy
    • Profile settings
      • Multi-Factor Authentication (MFA)
        • Enabling and Disabling MFA
        • MFA Reset
        • Organization-Wide Policies
  • Security
    • Securing Your Data
    • Identity Access Management (IAM)
      • Managing Users
      • Managing Groups
      • Managing Policies
    • CORS support
      • Limitations
      • CORS Configuration
  • Integrations with other applications
    • Backup Software Integrations Guides
    • Cloud Storage Browsers Integrations Guides
    • Media Management Software Integrations Guides
    • NAS Applications Integrations Guides
  • Other support resources
    • Impossible Cloud Management Console (ICMC)
    • Knowledge Base
    • Help Center
    • System Status
Powered by GitBook
On this page
  • General commands syntax
  • Supported high-level commands
  • Use of Exclude and Include Filters

Was this helpful?

Export as PDF
  1. Impossible cloud storage Guide
  2. CLI User Guide

AWS CLI basic commands

General commands syntax

This section is designed to explain the most important concepts and notations used in the set of high-level 's3' commands.

aws s3 <Command> [<Arg> ...]
aws s3 --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net <ACTION> <FILE SOURCE> <FILE DESTINATION>

Supported high-level commands

cp- copy

mv- move

ls - list buckets

rm - remove an object

mb - make a bucket

rb - remove a bucket

sync - sync directories with new and updated files

aws s3 ls --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net
aws s3 mb --profile=impossiblecloud --endpoint-url=https://us-west-1.storage.impossibleapi.net s3://my-new-bucket-name
aws s3 rb --profile=impossiblecloud --endpoint-url=https://us-west-1.storage.impossibleapi.net s3://my-new-bucket-name

Add the --recursive flag for multiple objects operations

aws s3 --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net cp myfile.txt s3://your-company-bucket-name/
aws s3 --profile=impossiblecloud --endpoint-url=https://eu-central-2.storage.impossibleapi.net mv s3://your-company-bucket-name/ s3://your-company-bucket-name2 --recursive

Use of Exclude and Include Filters

Most commands have --exclude "<value>" and --include "<value>" parameters that can achieve the desired result. These parameters perform pattern matching to either ex- or include a particular file or object. The following pattern symbols are supported:

  • *: Matches everything

  • ?: Matches any single character

  • [sequence]: Matches any character in sequence

  • [!sequence]: Matches any character not in sequence

By default, all files are included. This means that providing only an --include filter will not change what files are transferred. --include will only re-include files that have been excluded from an --exclude filter

PreviousUsing Impossible Cloud with AWS CLINextAWS CLI advanced commands

Last updated 8 months ago

Was this helpful?

See more information on the AWS CLI here:

https://aws.amazon.com/cli/