top of page
Writer's pictureJatin Madaan

AWS S3 file copy


To copy files on local machine we can use command :


aws s3 cp s3://bucket_name/folder_name/file_name.txt .

there is a dot at end to signify that file must be stored in current working directory from where command was run .


To store in specified folder just write :


aws s3 cp s3://bucket_name/folder_name/file_name.txt /absolute_path_to_file_on_server



These commands would run without any issue on EMR machines , but to run these commands on your system we would need to configure keys and install clients on system first .



7 views0 comments

Comments


bottom of page