Storing an object NFS examples

This example stores an object named wind.jpg in the existing images directory by copying a file of the same name from the local file system.

Unix command

cp wind.jpg /datamount/images/wind.jpg

Python code

import shutil
shutil.copy("wind.jpg", "/datamount/images/wind.jpg")

Trademark and LegalDisclaimer

© 2016 Hitachi Data Systems Corporation. All rights reserved.