[aclug-L] Re: File too short
[Top] [All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index] [Thread Index]
On Wednesday 04 February 2004 08:57 am, you wrote:
> John Goerzen wrote:
> >cp /lib/libc* /foo/lib
>
> This will not work. For each link you will get an actual file.
>
> Must be done as
> cp -p --preserve=links /lib/libc* /foo/lib
> in order to preserve the links.
>
> Or done as tar and then untar so ALL atributes are retained.
>
You can also use
cp -a /lib/libc* /foo/lib
cp -a claims to just do -dpR (no dereference symlinks, preserve everything but
hardlinks, recurse through directories), but it actually preserves hardlinks
too. It's very handy.
--
Donald King, a.k.a. Chronos Tachyon
http://chronos.dyndns.org/ -- WWED?
Guardian of Eristic Paraphernalia
Gatekeeper of the Region of Thud
10:23:07 up 108 days, 1:16, 1 user, load average: 0.03, 0.03, 0.02
-- This is the discussion@xxxxxxxxx list. To unsubscribe,
visit http://www.complete.org/cgi-bin/listargate-aclug.cgi
- [aclug-L] Re: Debian is great!, (continued)
- [aclug-L] Re: Debian is great!, Kirk Lancaster, 2004/02/08
- [aclug-L] Re: Debian is great!, Clint A Brubakken, 2004/02/09
- [aclug-L] Re: Debian is great!, Ryan Hunt, 2004/02/09
- [aclug-L] File too short, bbales, 2004/02/04
- [aclug-L] Re: File too short, John Goerzen, 2004/02/04
- [aclug-L] Re: File too short, Jeff Vian, 2004/02/04
- [aclug-L] Re: File too short,
Donald King <=
- [aclug-L] Re: File too short, bbales, 2004/02/04
- [aclug-L] Re: File too short, Jesse Kaufman, 2004/02/04
- [aclug-L] Re: File too short, Arnold Cavazos Jr., 2004/02/04
- [aclug-L] Re: File too short, John Goerzen, 2004/02/04
- [aclug-L] Re: File too short, Jesse Kaufman, 2004/02/04
- [aclug-L] Re: File too short, Arnold Cavazos Jr., 2004/02/04
- [aclug-L] Re: File too short, Jesse Kaufman, 2004/02/04
- [aclug-L] Re: File too short, Jesse Kaufman, 2004/02/04
- [aclug-L] Re: File too short, bbales, 2004/02/04
- [aclug-L] Re: File too short, John Goerzen, 2004/02/04
|
|