Script for tidy tools for synology DS214.
Pictures and videos are uploaded to the server into /var/services/homes/*/photo/ folder using DSfile app and moved to
/var/services/photo with the following structure photo/year/month/ by this script.
Export free mobile user id and password.
export FREEUSER="freeuser"
export FREEPWD="pwd"Build the env and test the installation.
python3 -m venv venv & \
source venv/bin/activate & \
python3 -m pip install --upgrade pip & \
pip install git+https://github.com/nakmuaycoder/synoPhoto.git & \
# Test the install
sms --user=$FREEUSER --password=$FREEPWD --message="Config OK"python3 synoPhoto \
--root_path=/volume1/homes/*/photo \
--image --video \
--pixel --samsung
--path_dest=/volume1/photo/ \
--free_mobile_user=$FREEUSER
--free_mobile_password=$FREEPWD