GIT_SYNC_FILES=${GIT_SYNC_FILES:-$(find -name "*.?db")}
GIT_REPO_PATH=${GIT_REPO_PATH:-~/chain}
for f in "$GIT_SYNC_FILES"; do
ln $f $GIT_REPO_PATH
done
Last active
January 16, 2018 11:15
-
-
Save untoreh/93fe94b47f644263cad300eafec10d12 to your computer and use it in GitHub Desktop.
sync files over git
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment