Skip to content

Add short option parameters to aws s3 commands #9972

@EpicWink

Description

@EpicWink

Describe the feature

Add short option parameters to the object-based aws s3 commands as aliases to the long option parameters.

In addition, short option combining (ie -rsn is equivalent to -r -s -n) needs to be verified as working.

I don't use auto-complete because I need to minimise shell start-up time. I don't use auto-prompt mode as it is much slower than entering the arguments in fully for me.

Use Case

This will reduce the friction when typing these commands many times in the command line.

Proposed Solution

alias existing commands
-r --recursive cp, ls, mv, rm
-H 1 --human-readable ls
-s --summarize ls
-n --dryrun cp, mv, rm, sync

Aliases that I think are optional:

alias existing commands
-q --quiet cp, mv, rm
-i --include cp, mv, rm
-e --exclude cp, mv, rm

I think all other parameters don't need short aliases.

Other Information

Former requests:

Acknowledgements

  • I may be able to implement this feature request
  • This feature might incur a breaking change

CLI version used

2.32.29

Environment details (OS name and version, etc.)

Python 3.13.11; Ubuntu 24.04.3

Footnotes

  1. not -h as that is used often as an alias for --help in many apps

Metadata

Metadata

Assignees

No one assigned

    Labels

    feature-requestA feature should be added or improved.p3This is a minor priority issues3

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions