On Sat, 18 Feb 2006 20:11:04 +0200, Ori Idan wrote:
>
> I have a source tree which some of the files are actually symbolic links
> to other files in the same tree.
>
> I compress the tree using tar cjf file.tar.bz2 dir
>
> When I extract the files to the same machine everything works fine.
>
> When I  extract the files to another machine with same directory
> strucuture (the directories before the source tree) everything works
> fine but extracting it on another machine with different path it seems
> the symbolic links are not created.

As others have pointed out, the problem is that you have absolute
symbolic links (i.e. starting with /).

Use the `symlinks' utility (check it man page) to convert (and
shorten) the symlinks on your directory before tarring it.

Ehud.


--
 Ehud Karni           Tel: +972-3-7966-561  /"\
 Mivtach - Simon      Fax: +972-3-7966-667  \ /  ASCII Ribbon Campaign
 Insurance agencies   (USA) voice mail and   X   Against   HTML   Mail
 http://www.mvs.co.il  FAX:  1-815-5509341  / \
 GnuPG: 98EA398D <http://www.keyserver.net/>    Better Safe Than Sorry

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to