flocon/scripts/.scripts/sync.sh

5 lines
128 B
Bash
Executable file

#!/bin/sh
[ ! -d $HOME/org ] && rclone copy drive:org $HOME/org
rclone sync $HOME/org --include "**.{org,png,jpeg}" drive:org