[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [cobalt-users] Copying Files
- Subject: Re: [cobalt-users] Copying Files
- From: Will DeHaan <null@xxxxxxx>
- Date: Wed Apr 17 20:01:05 2002
- List-id: Mailing list for users to share thoughts on Cobalt products. <cobalt-users.list.cobalt.com>
Jay Fesco wrote:
>
> Hi All.
>
> I need to copy a files to my /usr/lib directory from my local machine.
>
> Whats the best way to do this?
>
> Regards.
>
> Mark
Don't use "cp" as it will not preserve symbolic links and fill your disk
unnecessarily.
I prefer to use tar to copy directory trees.
As in...
mkdir /home/tmp/lib_backup
cd /usr/lib
tar -cf - * (cd /home/tmp/lib_backup; tar -xvf -)
> Get Webmin (www.webmin.com).
No thanks, I prefer the Cobalt admin UI.
-- Will
--
Will DeHaan
Software Engineer will.dehaan@xxxxxxx
Sun Cobalt Server Appliances. Sun Microsystems, Inc.