micahyoung / cf-rsync

Rsync over cf ssh
0 stars 0 forks source link

Add `inotifywait` example to README #1

Open micahyoung opened 5 years ago

micahyoung commented 5 years ago
export RSYNC_RSH="~/workspace/cf-rsync/cf-rsh-windows.sh"

inotifywait -e modify -m my-app-project-dir | while read _; do
  rsync  --recursive --verbose --delete --exclude="hwc.exe" my-app-project-dir/ my-app:app
done