help-tar
[Top][All Lists]
Advanced

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

Re: [Help-tar] [Bug-tar] Nasty behavior of --no-recursion in combination


From: Sergey Poznyakoff
Subject: Re: [Help-tar] [Bug-tar] Nasty behavior of --no-recursion in combination with --files-from targets
Date: Mon, 02 Nov 2015 14:59:06 +0200

Hi Reuti,

> $ ~/local/tar-1.28/bin/tar --create --file=archive.tar --no-recursion 
> --files-from=list1 --recursion --files-from=list2
> $ ~/local/tar-1.28/bin/tar --list --file=archive.tar
> foo/
> foo/bar/
> foo/bar/baz
> foo/
> foo/bar/
> foo/bar/baz
> 
> ==> both are descending, it should happen only for the latter list2

This has already been fixed in the repository (commit 2bd9c153).  With
tar 1.28.90, the above test produces:

$ tar --create --file=archive.tar --no-recursion --files-from=list1 --recursion 
--files-from=list2 --verbose
foo/
foo/
foo/bar/
foo/bar/baz

Regards,
Sergey



reply via email to

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