1
0
mirror of https://github.com/minio/mc.git synced 2025-11-13 12:22:45 +03:00
Files
mc/docs/commands/cp.md
2015-04-28 11:03:34 -07:00

709 B

cp

NAME:
   mc cp - Copy objects and files

USAGE:
   mc cp SOURCE TARGET [TARGET...]

EXAMPLES:
   1. Copy an object from Amazon S3 object storage to local fileystem.
      $ mc cp Music/*.ogg https://s3.amazonaws.com/jukebox/

   2. Copy a bucket recursively from Minio object storage to Amazon S3 object storage
      $ mc cp http://localhost:9000/photos/burningman2011... https://s3.amazonaws.com/burningman/

   3. Copy a local folder recursively to Minio object storage and Amazon S3 object storage
      $ mc cp backup/... http://localhost:9000/archive/

   4. Copy an object from Amazon S3 object storage to local filesystem on Windows.
      $ mc cp s3:documents/2014/... backup/2014