Skip to content

Python tool to manage multiple rsync sessions

github.com/ryt
16 pointslucasnb4 comments
On HN

Comments

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?

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 :)

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.