Let’s understand in detail:
-
aws s3 cp: This means we are using the AWS CLI to copy files.
-
s3://bucket-name/folder-path/: This is the folder in S3 (your cloud storage) that you want to download.
-
local-folder-path: This is where you want to save the files on your computer.
-
--recursive: This ensures that all files and subfolders in the cloud folder are downloaded.
Example:
The recursive part is important because it makes sure you get everything inside the folder, not just the top-level files!