bug-tar
[Top][All Lists]
Advanced

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

Re: prefer local files to network connections


From: Sergey Poznyakoff
Subject: Re: prefer local files to network connections
Date: Tue, 30 Jan 2024 19:09:45 +0100
User-agent: MH (GNU Mailutils 3.15)

Hi Karl!

> I suggest that tar check if a file exists before trying to make a
> network connection. This would eliminate the need for --force-local in
> (I expect) most cases. As in:

Nice idea.  I'll implement it.

> Also, since the whole idea of tar making network connections is highly
> non-traditional, I also suggest making an environment variable that
> turns off the network stuff completely.  TAR_NO_NETWORK or some
> such.

There's no need for that, you can just do:

  export TAR_OPTIONS=--force-local

That will disable network connections.  And it doesn't disturb short or
traditional options, either.

Regards,
Sergey



reply via email to

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