Bash script and python script for owncloud download and upload of directory and files
Usage: Change $server variable in the script
Bash Script
./owncloud_sync.sh username password local_dir remote_dir
ex:
./owncloud_sync.sh xyzw 1234 /home/usr/photos Photos/sub_dir
Python Script
python oc-python.py username password local_dir remote_dir
Help
python oc-python.py -h