Quantcast
Channel: Command line tool to move/modify files/folders in Amazon S3 - Stack Overflow
Viewing all articles
Browse latest Browse all 4

Answer by Suso for Command line tool to move/modify files/folders in Amazon S3

$
0
0

To create a folder and move files into it just use the mv command and include the folder in the path - it will be created automatically.

Example: create folder "newFolder" and move file "pic.jpg" from bucket root:

aws s3 mv s3://bucket-name/pic.jpg s3://bucket-name/newFolder/pic.jpg


Viewing all articles
Browse latest Browse all 4

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>