Update cheatsheets

This commit is contained in:
ivuorinen
2025-09-27 00:18:09 +00:00
parent aec5fb32c3
commit b10686d1e9
20 changed files with 28 additions and 28 deletions

View File

@@ -13,17 +13,17 @@ source: https://github.com/tldr-pages/tldr.git
`aws s3 ls {{bucket_name}}`
- Sync files and directories from local to bucket:
- Sync files in a directory from local to bucket:
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}}`
`aws s3 sync {{path/to/directory}} s3://{{bucket_name}}`
- Sync files and directories from bucket to local:
`aws s3 sync s3://{{bucket_name}} {{path/to/target}}`
- Sync files and directories with exclusions:
- Sync files in a directory with exclusions:
`aws s3 sync {{path/to/file1 path/to/file2 ...}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*`
`aws s3 sync {{path/to/directory}} s3://{{bucket_name}} --exclude {{path/to/file}} --exclude {{path/to/directory}}/*`
- Remove file from bucket: