bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files


From: Stefan Tomanek
Subject: Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files
Date: Fri, 20 Apr 2012 12:13:49 +0200
User-agent: Mutt/1.5.21 (2010-09-15)

Dies schrieb Paul Eggert (address@hidden):

> > Because find has more possibilities to select a subset of files to save
> 
> Which possibilities do you use in practice?  Perhaps these can
> be added to 'tar'; that would avoid the security issues
> with the find+tar approach.

"Save all files that have been changed since a specific time stamp, exclude 
directory X/,
exclude files from director Y/ *but* do save directories from it to the tar 
file"

The last point is quite useful for excluding things like
/var/cache/apt/archives; you do not want to backup .deb files in there, but you
do want to restore the directory /var/cache/apt/archives/partial. There are
quite a lot of things that find can, but tar cannot do.

I also spoke to many different people that are in fact using the combination of
find and tar and who are annoyed by tars behaviours of not being able to mask
out files that have disappeared; some of them are already using my patch, so I
think adding it would be a good thing [tm] to distinguish these 'errors' from
real trouble that would be masked by --ignore-failed-read.



reply via email to

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