LinuxCommandLibrary

stree

Directory tree visualization for AWS S3 buckets

TLDR

Display tree structure of an S3 bucket
$ stree [my-bucket] -p [my_profile]
copy
Show tree with depth limit of 3
$ stree [my-bucket/data] -p [my_profile] -L 3
copy
Display tree using LocalStack
$ stree [my-bucket] -l
copy

SYNOPSIS

stree bucket[/prefix] [-p profile] [-r region] [-L level] [options]

DESCRIPTION

stree is a CLI tool that displays the directory tree structure of AWS S3 buckets with colorized output. It supports custom AWS profiles, region configuration, depth-level control, LocalStack for local testing, and MFA role-switching capability.

PARAMETERS

-p PROFILE

AWS profile name to use.
-r REGION
AWS region.
-L LEVEL
Maximum directory depth to display.
-l
Use LocalStack for local testing.

HISTORY

stree was created by orangekame3 and is written in Go.

SEE ALSO

stu(1), aws(1), tree(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard