aws / aws/aws-cli

Add `--absolute` parameter to `aws s3 ls`

Open
#3,645 0 comments 2 reactions 0 assignees View on GitHub
automation-exempt feature-request p3 s3 v2
Dominant language
Python
Stars
17.3k
Forks
4.6k
Avg merge
1d 2h
Merged PRs (30d)
13

Description

The `--absolute` flag would cause the displayed matches to show the absolute key rather than a truncated key with the prefix missing.

```
$aws s3 ls foo/bar --recursive
bar/baz
bar/buz

```

```
$aws s3 ls foo/bar --recursive --absolute
foo/bar/baz
foo/bar/buz

```

Contributor guide

Open the contributing guide

Research direction

Start at the `aws s3 ls` command entry point and trace how recursive matches are formatted when a prefix is supplied. Run the examples from the issue to confirm the current truncated output. Done means `--absolute` preserves the full prefix in each displayed key while existing output remains unchanged without the flag.

Written by the indexing model from the issue text.

Assessment

Tech stack
aws, python
Domain
cli, cloud
Issue type
Feature
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.