ckolivas / lrzip

Long Range Zip

Home Page:http://lrzip.kolivas.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Unable to stat file error on broken symlinks

D3vil0p3r opened this issue · comments

When I try to compress a directory containing symlinks, I get an error like:

Unable to stat file <path-to-symlink>

It occurs when the symlink you are trying to compress is not linked because its original resource is not available. Can you add an option on lrzip to manage this case? For example, ignoring broken symlinks or just keep them as "broken" (better solution)?

When I try to compress a directory containing symlinks, I get an error like:

Unable to stat file <path-to-symlink>

It occurs when the symlink you are trying to compress is not linked because its original resource is not available. Can you add an option on lrzip to manage this case? For example, ignoring broken symlinks or just keep them as "broken" (better solution)?

  • Not enough information.
  • Please provide exact command you executed along with output. Seems like you were using lrztar.
  • Please provide a partial directory listing of what you were trying to compress.
  • Use -vv option to expand output.

@D3vil0p3r Also, try these commands on the directory in which the broken symlink occurs:
tar -cvvf baddir.tar baddir
and then
tar -I 'lrzip -vv' -cvvf baddir.tar.lrz baddir
I am wondering if this is a tar error.