A quick script to generate public links for any given OwnCloud folder.
pip install git+https://github.com/scholtalbers/owncloud-share-folder.git
# or 'pip install -e .' after cloning
oc-share <owncloud instance> <username> </a/owncloud/folder>
# output:
/a/owncloud/folder/file1.txt <owncloud instance>/index.php/s/XXXX
/a/owncloud/folder/file2.txt <owncloud instance>/index.php/s/XXXX