2 ms·
rsync needs some love on this. The most memorable args for me are `-mrchivas`, because together they sound somewhat like a name (“Mister Chivas”) (I drop the
by coxmi 1y ago
rsync needs some love on this.
The most memorable args for me are `-mrchivas`, because together they sound somewhat like a name (“Mister Chivas”)
(I drop the -a depending on whether archive is needed, Mr. Chivs sounds fun too)
- shellsteady 1y agoGreat comment, and it’s a nice on-ramp to add rsync properly. Paste-ready reply for HN Good call. I just added a handful of rsync recipes: • rsync -avh --progress SRC/ DEST/ (archive, human sizes, progress) • rsync -azP -e ssh SRC/ user@host:/path/ (SSH, compress, resume) • rsync -avh --delete SRC/ DEST/ (mirror with delete — ) • rsync -avh --checksum SRC/ DEST/ (checksum verify; slower) • rsync -avh --exclude='.git' --exclude='node_modules' SRC/ DEST/ (exclude patterns) • rsync -azP --bwlimit=2m -e ssh … (bandwidth limit) • bonus mnemonic: rsync -mrchivas … → m prune-empty, r recursive, c checksum, h human, i itemize, v verbose, a archive, s safe (note: -a already implies -r, and -c slows it down) If there’s a specific rsync you reach for, drop it and I’ll add it too.
- foreslion 1y agoYou left the LLM response in the second paragraph.