Example 1: Storing an object (NFS)

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")

Trademarks and Legal Disclaimer

© 2017 Hitachi Data Systems Corporation. All rights reserved.