Dereferencing links
Derek Martin
invalid at pizzashack.org
Fri Apr 8 11:14:00 EDT 2005
On Fri, Apr 08, 2005 at 10:48:50AM -0400, Jim Kuzdrall wrote:
> Is there a command line function to collapse a group of symbolic
> links, replacing them with the files they reference?
>
> I tried: (cd /dir1 ; tar cf - .) | (cd /dir2 ; tar xf -)
You need the -h option to tar. See the man page...
--
Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02
-=-=-=-=-
This message is posted from an invalid address. Replying to it will result in
undeliverable mail. Sorry for the inconvenience. Thank the spammers.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 189 bytes
Desc: not available
Url : http://mail.gnhlug.org/mailman/private/gnhlug-discuss/attachments/20050408/7820e416/attachment.bin
More information about the gnhlug-discuss
mailing list