Amazon S3 Command Line Tools
Upload, download, sync and manage Amazon S3 from one Windows EXE.
aws.exe s3 gives you 20+ commands for files and buckets: multi-threaded transfers, wildcard patterns, folder sync and permissions, with listings you can save as JSON, CSV or XML. Call it from a batch file, Task Scheduler, SQL Server Agent or your ETL tool, with no SDK code to write.
The download includes the Free edition and a 30-day trial of --sync, --threads and --struct.
- Single EXE for Windows
- Runs on your machine
- Free edition included
- Fully functional 30-day trial
REM Save the AWS keys once (stored encrypted on this machine) C:\jobs> aws.exe s3 setauth AKIA•••••••• •••••••• --region us-east-1 --save -n prod REM Push only new and changed exports, keep the folder tree C:\jobs> aws.exe s3 put "C:\exports\*.csv" acme-lake/daily/ -r --sync --struct --threads 8 -y --auth prod REM Save today's listing for the audit log C:\jobs> aws.exe s3 ls acme-lake/daily/ -r --sort-date --desc --json -o C:\reports\s3-daily.json
Trusted by data teams worldwide
Also rated on ★★★★★,
★★★★★ and
A+
At a glance
What the Amazon S3 command line can do
Everything you would script against the AWS SDK for files and buckets, as one-line commands with the same options on every command.
20+ S3 commands
Upload, download, copy, move, rename and delete files and buckets.
put,get,copy,move,ren,delmkbkt,delbkt,mkfol,mkfile
Multi-threaded transfers
Move thousands of files in parallel instead of one at a time.
--threads 8onput,get,copyanddel- Files larger than 100MB (Standard)
Sync changed files only
Keep a local folder and a bucket in step without re-sending everything.
--synctransfers new and modified files--setdatekeeps the original file dates
Whole folder trees
Upload or download nested folders and keep the same structure.
-rfor subfolders,--structto keep the tree--crfolcreates missing target folders
Wildcards and age filters
Pick exactly the files a job should touch.
- Patterns such as
orders_*.csvorlog_???_*.gz --exclude-olderthan 1d,--exclude-newerthan 2h
Listings as JSON, CSV or XML
Turn a bucket listing into a report or a file another job reads.
ls,lsbandinfowith--json,--csv,--xml- Sort by date, name or size;
-mlimits the rows
Permissions and encryption
Control who can read what, and encrypt before data leaves the machine.
setacl --acl public-reador per-user grants--enc-aes(AES 256) or--enc-rsawith your key file
Saved credentials
Keep AWS keys out of your scripts.
setauth --savestores keys encrypted on the machine--auth prodpicks a saved entry;--regionper command
See all features
- Upload, download, copy, move, rename and delete S3 files with one command each
- Create and delete buckets and folders; create a file with your own content
- Multi-threaded put, get, copy and delete with
--threads - Transfer only new or modified files with
--sync(Standard) - Keep nested folder structure with
-r --struct(Standard) - Wildcard patterns and age filters on every file command
- Delete or archive the source after a successful transfer (
--del,--mov) - List files and buckets as JSON, CSV, XML, tab or fixed width, to the screen or a file
- File and bucket details: size, dates, metadata, permissions
- Canned ACLs and per-user grants with
setacl - Custom metadata, HTTP headers and automatic content type on upload
- Client side AES 256 or RSA 1024 encryption with your own key
- Saved, encrypted credential entries; per-command keys, region and service URL
- Copy between buckets and between AWS accounts (
--auth2) - Continue on error, verbose logging and console output to a file
How it works
From download to a scheduled S3 job.
The four commands most jobs are built from, with the exact syntax you paste into a batch file.
Save your AWS keys once, then refer to them by name.
setauth with --save writes the access key and secret key to an encrypted entry on this machine. Every other command takes --auth prod instead of the keys.
Need a one-off run? Pass --accesskey, --secretkey and --region on the command itself.
- Several named entries, e.g. prod and archive
lsauthlists them,loadauthmakes one the default
C:\jobs> aws.exe s3 setauth AKIA•••••••• •••••••• --region us-east-1 --save -n prod C:\jobs> aws.exe s3 lsauth C:\jobs> aws.exe s3 lsb --auth prod
Upload a folder and send only what changed.
put accepts a wildcard source and a bucket path. Add -r --struct for the whole tree and --sync so unchanged files are skipped on the next run.
--threads 8 uploads in parallel. --mov moves the local files to an archive folder after a successful upload.
--metaand--content-type-autoset object properties--enc-aesencrypts before upload
C:\jobs> aws.exe s3 put "C:\exports\*.csv" acme-lake/daily/ -r --sync --struct --threads 8 -y --auth prod C:\jobs> aws.exe s3 put "C:\outbox\*.pdf" acme-docs/invoices/ --mov --mov-folder "C:\outbox\sent" -y --auth prod
Pull new files from a bucket into a local inbox.
get downloads by pattern. --exclude-olderthan 1d keeps a daily job to the last day’s drops, and --sync skips files you already have.
--del removes the S3 copy after a successful download when the bucket is a hand-off point.
- Wildcards across subfolders with
-r -ccontinues past a failed file and reports it
C:\jobs> aws.exe s3 get "acme-inbound/orders/orders_*.xml" C:\inbox\ --exclude-olderthan 1d -y --auth prod C:\jobs> aws.exe s3 get "acme-inbound/drop/*.*" C:\inbox\drop\ -r --sync --threads 4 --del -y --auth prod
List a bucket and save it as JSON, CSV or XML.
ls and lsb print to the console or write a file with -o. Sort by date, name or size, and cap the rows with -m to find the newest files.
info shows one file’s size, dates, metadata and permissions.
--csv --nohdrfor files another tool loads--mbor--gbsizes,-afolder totals
C:\jobs> aws.exe s3 ls "acme-lake/daily/*.csv" -r --sort-date --desc -m 50 --csv -o C:\reports\latest-50.csv --auth prod C:\jobs> aws.exe s3 lsb --json -o C:\reports\buckets.json --auth prod
In the console
What a run looks like.
Real aws.exe sessions on Windows. Step through them, or open any one at full size.
Upload local files to Amazon S3
put sends matching local files to a bucket path and reports each file as it goes.
Command reference
Every S3 command, one click from its help page.
Aliases in brackets. Each link opens the full option list in the online help.
Transfer
Files and folders
List and inspect
Buckets
Permissions
setaclcanned ACLs and user grants (setper)
Credentials and session
Editions
Start free. Pay once when a job needs more.
Every S3 command is in the Free edition. Paid licenses are perpetual, per machine, with one year of support and upgrades.
Free
$0
All 20+ S3 commands for everyday jobs.
- put, get, copy, move, ls, setacl and the rest
- Files up to 100MB
- No
--sync,--threadsor--struct
For AWS S3 + Redshift
$499 per machine
Everything in Free, plus the options that make big jobs fast.
--syncfor changed files only--threadsfor parallel transfers--structfor nested folder trees- Files larger than 100MB
- Redshift import, export and sqlexec
- Premium support by phone or web meeting
Standard All 4 tools
$599 per machine
Every ZappyShell tool on one key.
- Amazon S3 and Redshift
- Azure Blob Storage
- Database export to JSON, CSV, Excel and PDF
- Premium support by phone or web meeting
Try the paid options free for 30 days: the download unlocks them during the trial. Compare all ZappyShell licenses
Requirements
Built for Windows scripts and schedulers.
- Windows desktop and server, from the Command Prompt or PowerShell
- Schedule with Windows Task Scheduler, SQL Server Agent (CmdExec) or the SSIS Execute Process Task
- Any AWS region;
--serviceurlfor a custom S3 endpoint - Credentials stay on your machine, encrypted; data goes straight between your machine and S3
- Free edition, plus a fully functional 30-day trial of the paid options
FAQ
Questions teams ask before they script S3.
Is there a free Amazon S3 command line for Windows?
Yes. The ZappyShell Free edition includes every S3 command. The paid options (--sync, --threads, --struct and files over 100MB) are in the For AWS and Standard licenses, and you can try them free for 30 days.
How do I upload only new or changed files?
Add --sync to put (or get). Files that already match on the other side are skipped. Combine it with -r --struct to cover a whole folder tree and --threads to run in parallel.
Where are my AWS keys stored?
setauth --save stores them in encrypted form on the local machine, under the entry name you give with -n. Scripts then use --auth NAME, so no key appears in a batch file.
Can I schedule S3 jobs?
Yes. aws.exe is a normal Windows program, so put the commands in a .bat file and run it from Task Scheduler, a SQL Server Agent CmdExec step, the SSIS Execute Process Task or any ETL tool that can start a program.
Can I save a file list as JSON or CSV?
Yes. ls, lsb and info accept --json, --csv or --xml, and -o PATH writes the result to a file.
Does my data pass through ZappySys servers?
No. ZappyShell runs on your machine and talks to Amazon S3 directly. Your files and keys stay in your environment.
How is it licensed?
Paid licenses are perpetual and per machine, with one year of support and upgrades. For AWS ($499) covers Amazon S3 and Redshift; Standard ($599) adds Azure Blob Storage and database export.
Free download
Download ZappyShell and run your first S3 sync today.
One install gives you aws.exe, azure.exe and db.exe.
- Free edition includedEvery S3 command, no time limit.
- 30-day trial of the paid options–sync, –threads, –struct and large files.
- Live supportTalk to an engineer during your trial.
Open Help FileZappyShell overview
New purchases may be eligible for refund review within 30 days. See the refund policy.
Talk to an engineer before or during your trial.