flocon/scripts/.scripts/sync.sh

5 lines
124 B
Bash
Executable file

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