dimikot / dklab_realsync

dkLab RealSync: replicate developer's files over SSH in realtime
203 stars 41 forks source link

~ in remote path #6

Closed artyomxx closed 12 years ago

artyomxx commented 12 years ago

remote = ~/foo/bar:

ok at the first time, but later:

[15:47:17] Watching for changes in 311 folder(s)... Cannot chdir to ~/foo/bar: No such file or directory [15:47:17] SSH client died, restarting. [15:47:17] Initiating a background connection with ~/foo/bar... [15:47:18] Fast initial rsync synchronization... sending incremental file list

sent 46776 bytes received 322 bytes 31398.67 bytes/sec total size is 17547472 speedup is 372.57

dimikot commented 12 years ago

Thanks for the idea. Tilde expansion is now supported too (originally it was not supported by chdir and other file functions; tilde is expanded by shell). https://github.com/DmitryKoterov/dklab_realsync/commit/3acc9d7d65ecfb1e07650d0981ba49577ba6e3ce