Live data from Hacker News

Python tool to manage multiple rsync sessions

github.com

1–5 of 5 posts

Re: Python tool to manage multiple rsync sessions

#4
post #3
post #2

Is there something too involved about an alias in .profile, or a makefile target?

Totally forgot about that. Done!

I meant more like:

  alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/"
It sort of removes the need for most of this script, no?

Re: Python tool to manage multiple rsync sessions

#5
post #4
post #3

Earlier quoted context omitted.

Totally forgot about that. Done!

I meant more like: alias deployapp="rsync -avP --delete ~/dev/app/ user@remote:app/" It sort of removes the need for most of this script, no?

True. But if you have lots of apps, it can be tedious to manage. Also, it seems better to abstract away the command to be able to quickly change tools when needed. And you won't get a fancy, readable list with alias :)