Posted Nov 23, 2005 17:31 UTC (Wed) by grouch
In reply to: rsync?
Parent article: CLI Magic: Simple backup is Mirdir (Linux.com)
Some crusty warthawg said, from the back porch:
"Mirdir's deal is simplicity, rsync's power comes from being able to do much more than that. IMO, newbies like and appreciate simple."
From the article:
mirdir -enone /home/username/text-files /home/username/text-mirror
rsync -avz /home/username/text-files/ /home/username/text-mirror
No more complicated for newbies to learn than mirdir; actually, it takes fewer keystrokes. Not any more cryptic, either.
Now, if I wanted to delete old versions:
rsync -avz --delete /home/username/text-files /home/username/text-mirror
How about if a friendly 'root' mounted some Compact Flash disk on a usb card reader for me?
rsync -avz --delete ./my_text_files/ /mnt/temp/my_text_files
How about mirroring to some website where I have an ssh account?
rsync -avz --delete -e ssh ./my_text_files/ me@there:my_home/my_text_files
The article does a good job of introducing 'mirdir', which I had never heard of until now. As someone else pointed out, it would be helpful to mention other similar tools.
Thanks for your continuing work, Joe!
to post comments)