Y
Hacker News
new
|
ask
|
show
|
jobs
Python tool to manage multiple rsync sessions
(
github.com
)
16 points
by
lucasnb
4535 days ago
1 comments
sneak
4535 days ago
Is there something too involved about an alias in .profile, or a makefile target?
link
lucasnb
4535 days ago
Totally forgot about that. Done!
link
sneak
4535 days ago
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?
link
lucasnb
4535 days ago
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 :)
link