Skip to content

nakmuaycoder/synoPhoto

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

synoPhoto

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.

Environment setup

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"

Run the script

python3 synoPhoto \
    --root_path=/volume1/homes/*/photo  \
    --image --video \
    --pixel --samsung
    --path_dest=/volume1/photo/ \
    --free_mobile_user=$FREEUSER
    --free_mobile_password=$FREEPWD

About

Tidy pictures uploaded on my syno

Resources

License

Stars

Watchers

Forks

Languages