Python tool to manage multiple rsync sessionsgithub.com/ryt 16 pointslucasnb12 years ago4 commentsSaveHideCopy link On HNComments−sneak12yIs there something too involved about an alias in .profile, or a makefile target?−lucasnbOP12yTotally forgot about that. Done!−sneak12yI 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?−lucasnbOP12yTrue. 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 :)
Comments
Is there something too involved about an alias in .profile, or a makefile target?
Totally forgot about that. Done!
I meant more like:
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 :)