![]() IMPORTANT NOTE: Make sure to use the -prefix parameter.Follow these guidelines for PIP installation.And then install by running python get-pip.py -prefix=~/apps/Python.IMPORTANT NOTE: pip allows you to more easily install python related modules/applications.Create also a dev directory/folder to use as working area where to download/extract the files/packages prior to intstallation:.$ export PYTHONPATH =~/apps/Python/lib/python3.5/site-packages $ export PYTHONPATH =~/apps/Python/lib/python2.7/site-packages Create a local install destination directory/folder define and export PYTHONPATH variable (ex: for Python 2.7):.IMPORTANT NOTE: To avoid messing up with the system files.Prepare a local folder location for Python modules install. (Optionally) install via the Synology DSM Packages the "Python 3" package (corresponds to version 3.5)Ģ.Avoid the use of root for security reasons.Enable and access your Synology DSM via SSH with an admin user.Prepare a local folder location for Python modules installġ.Enable SSH access to Synology DSM Server.Enable SSH access to Synology DSM Server.Side note: don't be overwhelmed with this setup.Might work on other platforms like Windows also.Note: You need to also install the DSM Package Perl. exiftool, only if you intend to convert RAW files to JPG.File write access (for the token and local database).portalocker module for Windows systems.Recommendation on Synology DSM: do not install/use the "Python Module" from the DSM Packages.Python 2.7+ (should work on DSM from Synology (v6.1), Windows and MAC).With FULL_SET_NAME=False it will go into Album "Sub" Same pic as in Album01 is loaded twice as it's part of a different Album You should get the following depending on how the setting FULL_SET_NAME is set: FilePathName Setting your source folder with FILES_DIRĪnd you setup FILES_DIR FILES_DIR =/home/user/media home/user/media/folderAlbum5/Sub/pic051.jpg home/user/media/newfolder/Album4/pic042.jpg home/user/media/folder/Album4/Sub/pic041.jpg If you have the following folders and pics (the name of the flickr Sets/Albums depends on the uploadr.ini file setting FULL_SET_NAME, but I normally use it as False): /home/user/media/pic00.jpg Sample file structureĬonsider this example to explain how files are uploaded into Sets/Albums on Flickr. PLEASE REVIEW THE SOURCE CODE TO MAKE SURE IT WILL WORK FOR YOUR NEEDS. THIS SCRIPT IS PROVIDED WITH NO WARRANTY WHATSOEVER. Optionally convert RAW files (with use of external tool: exiftool by Phil Harvey).Automatically removes images from Flickr when they are removed from your.Reuploads modified images as well as Videos (via delete/upload).Skips files that are over a configurable size (max flickr size is about 900MB).Allows specific files to be ignored (via regular expressions). ![]()
0 Comments
Leave a Reply. |