bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] handle symlinks when extracting


From: Guenter
Subject: [Bug-tar] handle symlinks when extracting
Date: Sun, 11 Jan 2015 16:13:12 +0100
User-agent: Mozilla/5.0 (Windows NT 6.1; WOW64; rv:31.0) Gecko/20100101 Thunderbird/31.2.0

Hi all,
please forgive if this topic was already discussed on this list in the past, but I searched and couldnt find.

I would like to suggest a tar option similar to:
-h, --dereference
      follow symlinks; archive and dump the files they point to

but for extracting archives. Such an option would be really helpful especially on systems where no symlinks work since usually you dont have control over the tar file you get (f.e. a source tarball of a project), so you would have to repack the tarball on another system with -h in order to properly get all files in place when extracting on the non-symlink-aware system. Of course its clear that such can only work with files which are included in this same tarball but in other folders; symlinks which point outside the tarball should be ignored then.

I really wonder that such an option didnt yet make it into tar although while searching I found a couple of hits where others aked for same.

Günter.





reply via email to

[Prev in Thread] Current Thread [Next in Thread]