[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [K12OSN] backing up user prefs & docs



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


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]