[K12OSN] backing up user prefs & docs

Dan Young dan_young at parkrose.k12.or.us
Thu Oct 21 15:55:45 UTC 2004

On Thu, 2004-10-21 at 04:41, "Terrell Prudé, Jr." wrote:
> You want to throw a few more switches, like so:
>   cp -rp /home/guest /my/backup/place
> The "r" does a recursive copy, and the "p" preserves permissions, file 
> creation/modification times, etc.

Or just:

# cp -a /source /destination

-a implies -dpR, with -d preserving links.

Dan Young
Parkrose School District

More information about the K12OSN mailing list