From the course: AWS for Developers: S3

Unlock the full course today

Join today to access over 24,700 courses taught by industry experts.

Working with single files: cp, mv, rm

Working with single files: cp, mv, rm - Amazon Web Services (AWS) Tutorial

From the course: AWS for Developers: S3

Working with single files: cp, mv, rm

- [Instructor] So we now have a bucket, so let's start working with some single-file operations. All right, rephrase back to this point here. Working with files is really as simple as creating buckets. But first of all, let's start with some files. So I'm going to make a directory on my desktop, just call it S3, and I'll navigate there. Once I'm here I'm going to create these files. Now I'm going to do them kind of in a cheating way, I'm going to echo out some data into a file and I'm going to call it lil1.txt, and I'm going to do the same thing to create file two. So now you'll see I've got two files in this directory. Now the copy command, or C-P, works very much the same way it does on Linux. It will take a local file or a file from one bucket and copy it to an S3 bucket or back into your local file system depending on the order in which you execute these operations. It is important to note, we can go from S3 bucket to S3…

Contents