flocon/dot_scripts/executable_sync.sh

5 lines
128 B
Bash

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