SciencesPoDRIS / iamassaccess

Upload and modify in mass for Internet Access
GNU General Public License v3.0
0 stars 0 forks source link

Separate two different behaviours : create a new item or update the metadata of an existing item #10

Closed annelhote closed 8 years ago

annelhote commented 8 years ago

Passed through an argument when calling the python script.

annelhote commented 8 years ago

First argument should be "create" to create a new item and "update" to simply update existing metadata. python iamassaccess.py --create /path/to/metadata/file /folder/to/files/to/upload python iamassaccess.py --update /path/to/metadata/file

annelhote commented 8 years ago

Separate into two functions : createArchive et updateArchive.