From 0609deffaed5711e5760c3c73376685cace333b5 Mon Sep 17 00:00:00 2001 From: Yaroslav Halchenko Date: Tue, 3 Dec 2024 11:09:02 -0500 Subject: [PATCH] Clarify statement in sync --include example Unlike with "all ... but exclude" I think "all ... but include" makes less sense. --- command/sync.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/command/sync.go b/command/sync.go index 6dede5a66..ff1dfb3ad 100644 --- a/command/sync.go +++ b/command/sync.go @@ -67,7 +67,7 @@ Examples: 10. Sync all files to S3 bucket but exclude the ones with txt and gz extension > s5cmd {{.HelpName}} --exclude "*.txt" --exclude "*.gz" dir/ s3://bucket - 11. Sync all files to S3 bucket but include the only ones with txt and gz extension + 11. Sync all files with txt and gz extensions (only) to S3 bucket > s5cmd {{.HelpName}} --include "*.txt" --include "*.gz" dir/ s3://bucket `