Recent Releases of git-sync-file.sh
git-sync-file.sh - Sync a file to a Git repository (such as GitHub Gist) periodically
Sync a file to a Git repository (such as GitHub Gist) periodically.

Say you are running a program on a remote computer that outputs a file, and you want to share that file with others. You could use a service like GitHub Gist to share the file, but you would have to manually update the file every time it changes. This program automates that process.
```bash
$ bash index.sh "
"": URL of the Git/Gist repository
"" : Path to the file to sync
"[path-in-repo]": Path to the file in the repository (default: same as "")
"[delay]" : Delay between syncs (default: 1 minute)
```
- Shell
Published by wolfram77 over 2 years ago