[Top][All Lists]
[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: |
Paul Eggert |
Subject: |
Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files |
Date: |
Fri, 20 Apr 2012 11:46:40 -0700 |
User-agent: |
Mozilla/5.0 (X11; Linux x86_64; rv:11.0) Gecko/20120329 Thunderbird/11.0.1 |
On 04/20/2012 03:13 AM, Stefan Tomanek wrote:
> "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"
This can be done with the combination of the flags
--newer-mtime and --exclude-tag-under, or something like that,
I expect.
> There are quite a lot of things that find can, but tar cannot do.
Absolutely! But I don't see why this one in particular is one of them.
In the longer run, Joerg's suggestion of using libfind, or something like
that, may be a better one -- then 'tar' could do anything that 'find' can
do, without further ado. However, libfind (or whatever) would have to be
audited for security holes....
> I also spoke to many different people that are in fact using the combination
> of
> find and tar
This combination is safe in environments where only trusted users can
modify the file system. But it's not safe in general, which is why
I have qualms about supporting it.
- [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Stefan Tomanek, 2012/04/19
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Paul Eggert, 2012/04/19
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Stefan Tomanek, 2012/04/20
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Paul Eggert, 2012/04/20
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Stefan Tomanek, 2012/04/20
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files,
Paul Eggert <=
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Stefan Tomanek, 2012/04/20
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Paul Eggert, 2012/04/20
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Stefan Tomanek, 2012/04/21
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Joerg Schilling, 2012/04/21
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Paul Eggert, 2012/04/21
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Joerg Schilling, 2012/04/22
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Paul Eggert, 2012/04/22
- Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Joerg Schilling, 2012/04/22
Re: [Bug-tar] [PATCH] add --ignore-missing to ignore missing input files, Joerg Schilling, 2012/04/20
Re: [Bug-tar] add --ignore-missing to ignore missing input files, Nathan Stratton Treadway, 2012/04/24