Hacker Newsnew | past | comments | ask | show | jobs | submitlogin

Are rsync defaults ever enough?

I find "-apHAX" a sane default for most use and memorable enough. (think wardriving)

Very common contextuals:

-c (as mentioned, when you care about integrity)

-n (dryrun)

-v (verbose)

-z (compress when remoting)

Where it applies I usually do the actual syncing without -c and then follow up with -cnv to see if anything is off.



Also, you are missing -S to preserve sparseness btw.


-A implies -p btw


ap is an acronym for access point




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: