¿ù°£ Àα⠰Խù°

°Ô½Ã¹° 715°Ç
   
Renaming containers and objects / Copy an Object
±Û¾´ÀÌ : ÃÖ°í°ü¸®ÀÚ ³¯Â¥ : 2019-10-15 (È­) 10:28 Á¶È¸ : 1301
                                
Renaming containers and objects
 - ÄÁÅ×ÀÌ³Ê À̸§ º¯°æºÒ°¡ 
 - ¿ÀºêÁ§Æ® À̸§ º¯°æºÒ°¡ / ¿ÀºêÁ§Æ® À̸§º¯°æÇϱâ À§Çؼ­´Â ´Ù¸¥°÷À¸·Î º¹»çÈÄ »èÁ¦ 




Copy an Object
# swift list container3
# swift list container1
CrystalDiskMark6_0_2.exe
profile.jpg


:: Object º¹»ç ( container1/profile.jpg --> container3/profile.jpg)
# curl -i -X COPY -H "X-Auth-Token: $(openstack token issue -c id -f value)" -H "Destination: container3/profile.jpg" http://115.68.238.26/swift/v1/container1/profile.jpg
HTTP/1.1 201 Created
etag: 9e414129bfe8fe8d07bfca6389006419
Last-Modified: Tue, 15 Oct 2019 07:37:30 GMT
X-Copied-From: container1/profile.jpg
X-Copied-From-Account: b494535943fc4141902228e18f7427d4
X-Copied-From-Last-Modified: Tue, 08 Oct 2019 01:44:32 GMT
X-Object-Meta-Mtime: 1406856495.000000
X-Trans-Id: tx0000000000000000141d9-005da57739-270bd7-default
X-Openstack-Request-Id: tx0000000000000000141d9-005da57739-270bd7-default
Content-Type: image/jpeg
Content-Length: 0
Date: Tue, 15 Oct 2019 07:37:30 GMT


# swift list container3
profile.jpg
# swift list container1
CrystalDiskMark6_0_2.exe
profile.jpg



À̸§ Æнº¿öµå
ºñ¹Ð±Û (üũÇÏ¸é ±Û¾´À̸¸ ³»¿ëÀ» È®ÀÎÇÒ ¼ö ÀÖ½À´Ï´Ù.)
¿ÞÂÊÀÇ ±ÛÀÚ¸¦ ÀÔ·ÂÇϼ¼¿ä.
   

 



 
»çÀÌÆ®¸í : ¸ðÁö¸®³× | ´ëÇ¥ : ÀÌ°æÇö | °³ÀÎÄ¿¹Â´ÏƼ : ·©Å°´åÄÄ ¿î¿µÃ¼Á¦(OS) | °æ±âµµ ¼º³²½Ã ºÐ´ç±¸ | ÀüÀÚ¿ìÆí : mojily°ñ¹ðÀÌchonnom.com Copyright ¨Ï www.chonnom.com www.kyunghyun.net www.mojily.net. All rights reserved.