Recursively Copy or Backup with Rsync

Published on November 16, 2010, by in linux, osx, sysadmin.



What is a good way to recursively copy contents of directory (including hidden files) to another directory?

A simple rsync command is excellent for this! The command is simply:

$ rsync -a /source /destination

For example, I am backing up my entire home directory to another disk like so:

$ rsync -a /home/stmiller /media/linuxbkup/bkup

Sweet!


Related posts:

  1. Time Machine with netatalk and Linux

Leave a Reply

Your email address will not be published. Required fields are marked *

*

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Notify me of followup comments via e-mail. You can also subscribe without commenting.

Home linux Recursively Copy or Backup with Rsync
© Copyleft scottlinux.com CC BY-SA 3.0