cp -a /tmp . rsync -a /tmp .Note the following benefits:
- mirrors a directory along with meta data (like cp -a)
- uses diffs to save time when run again
- can cross servers over SSH
rsync -a -e 'ssh' user@host:/tmp .Which copies /tmp on a remote host over SSH like scp. Read Jeremy Mates's tutorial next.
No comments:
Post a Comment