Last active
June 8, 2016 10:40
-
-
Save raine/eacc8bb4b8372fff1f6a5188328ab10e to your computer and use it in GitHub Desktop.
Watch a file for updates and rsync/scp/copy it to remote server (OS X etc.)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
npm install -g watchy | |
watchy -w file.txt -- scp file.txt user@host:path/to/dest |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I wasn't happy with google results on the topic so I made this.