LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

s4cmd

Fast multi-threaded S3 command-line tool

TLDR

List a bucket prefix
$ s4cmd ls s3://[bucket]/prefix]
copy
Upload a file
$ s4cmd put [file] s3://[bucket]/key]
copy
Download a key
$ s4cmd get s3://[bucket]/key] [file]
copy
Recursive sync-style copy
$ s4cmd dsync [local_dir] s3://[bucket]/prefix]
copy

SYNOPSIS

s4cmd *command* [*options*] [*args*]

DESCRIPTION

s4cmd is a multi-threaded client for Amazon S3 emphasizing speed for bulk transfers. It provides ls, put, get, del, dsync, and related operations with S3-compatible endpoints. Install via pip install s4cmd. Uses standard AWS credential chains (AWS_ACCESS_KEY_ID, profiles, etc.).

PARAMETERS

ls *s3://bucket/prefix*

List objects.
put *local* *s3://...*
Upload.
get *s3://...* *local*
Download.
del *s3://...*
Delete keys.
dsync *src* *dst*
Directory-style sync between local and S3 (or S3 to S3 depending on version).
Thread count and endpoint flags: s4cmd --help.

INSTALL

brew install s4cmd
copy
nix profile install nixpkgs#s4cmd
copy

CAVEATS

Verify compatibility with your AWS CLI credential setup. Parallel deletes/uploads can incur cost and throttling. Not identical to aws s3 semantics—test before production migrations.

SEE ALSO

aws(1), s3cmd(1), rclone(1)

RESOURCES

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid