Manual rsync still suck
More manual:
alias synccode='rsync -azr --ignore-existing --recursive nickfarow@192.168.6.82:/var/www/NTQ/kotora25/src/ /vagrant/src/'
Note that rsync params: update, ignore exists ...
Guest PC log will be remove by rsync ? because Host PC do not have (rsync back not work)
vagrant rsync-auto snail.
Other Host PC generate file like grunt, gulp can be sync manual from Guest but log (generated from Guest) do not need sync back to Host.
More manual:
alias synccode='rsync -azr --ignore-existing --recursive nickfarow@192.168.6.82:/var/www/NTQ/kotora25/src/ /vagrant/src/'
alias syncrsp='~/bin/rsync_rsp'
[vagrant@localhost bin]$ syncrsp
nickfarow@192.168.6.82's password:
[vagrant@localhost bin]$ cat rsync_rsp
rsync -azr --update --existing nickfarow@192.168.6.82:/var/www/NTQ/kotora25/src/webapps/respondent/ /vagrant/src/webapps/respondent/
[vagrant@localhost bin]$ syncrsp
nickfarow@192.168.6.82's password:
[vagrant@localhost bin]$ cat rsync_rsp
rsync -azr --update --existing nickfarow@192.168.6.82:/var/www/NTQ/kotora25/src/webapps/respondent/ /vagrant/src/webapps/respondent/
Note that rsync params: update, ignore exists ...
Guest PC log will be remove by rsync ? because Host PC do not have (rsync back not work)
vagrant rsync-auto snail.
Other Host PC generate file like grunt, gulp can be sync manual from Guest but log (generated from Guest) do not need sync back to Host.
How to auto fill password ?
Or use key.
Comments
Post a Comment