Re: [gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread Frank Steinmetzger
Am Wed, May 05, 2021 at 09:33:58AM -0400 schrieb Walter Dnes: > I'm passing on this solution to help others avoid my frustration and > wasted time. If you've done "RTFM" on tar, you'll find out that "TFM" > is broken or out-of-date or whatever, re: "--exclude=PATTERN". I'm > fighting the urge

Re: [gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread tastytea
On 2021-05-05 11:28-0400 "Walter Dnes" wrote: > On Wed, May 05, 2021 at 04:03:03PM +0200, tastytea wrote > > > > This works fine here with ???tar (GNU tar) 1.34???: > > > > $ mkdir -p a/b > > $ touch a/file a/b/file > > $ touch a/file.xz a/b/file.xz > > $ tree a > > a > > ? b > > ???  

Re: [gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread Walter Dnes
On Wed, May 05, 2021 at 04:03:03PM +0200, tastytea wrote > > This works fine here with ???tar (GNU tar) 1.34???: > > $ mkdir -p a/b > $ touch a/file a/b/file > $ touch a/file.xz a/b/file.xz > $ tree a > a > ? b > ???   ? file > ???   ? file.xz > ? file > ?

Re: [gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread Grant Taylor
On 5/5/21 7:33 AM, Walter Dnes wrote: 3) All directories and/or files to exclude must be listed as relative paths to the directory being tarred, i.e. last parameter on the command line. This might not be very clearly articulated in the manual et al., but once you are aware of it, you see evid

Re: [gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread tastytea
On 2021-05-05 09:33-0400 "Walter Dnes" wrote: > tar version > > > tar (GNU tar) 1.34 > Copyright (C) 2021 Free Software Foundation, Inc. > License GPLv3+: GNU GPL version 3 or later > . This is free softwar

[gentoo-user] [OT] tar exclude syntax tip

2021-05-05 Thread Walter Dnes
tar version tar (GNU tar) 1.34 Copyright (C) 2021 Free Software Foundation, Inc. License GPLv3+: GNU GPL version 3 or later . This is free software: you are free to change and redistribute it. There is NO WAR