s3surfer

December 17, 2021 · View on GitHub

GitHub test Go Report Card Go Doc

s3surfer

s3surfer is CLI tool for browsing S3 bucket and download objects interactively.

Screencast

Installation

It's just a single binary file, no external dependencies. Just download the appropriate version of executable from latest release for your OS.

Usage

Options

OptionDescription
-b STRINGS3 bucket name (optional)
--endpoint-url STRINGEndpoint URL to request
-d STRINGWrite debug log into file
--versionPrint version information and exit
-hShow help messages

Keyboard Commands

KeyDescription
, jSelect next item
, kSelect previous item
Enter, lMove into directory
u, hMove parent directory
dDownload the selected file or directory into the current working directory
qQuit

Environmental Variables

VariableDescription
AWS_PROFILEUse a specific profile from your credential file.

Examples

Using default profile, specify bucket name.

$ s3surfer -b my-bucket

Using my-profile profile, choose bucket in s3surfer.

$ env AWS_PROFILE='my-profile' s3surfer

Note

  • Set ambiguous characters to single-width in your terminal setting.
  • If the total download size is greater than 80% of the available size of the destination partition, the download will not start.
  • "Overwrite protection" protect the data in the same file name.