On Thu, Nov 08, 2018 at 07:57:42PM -0800, Michael Sierchio wrote:
>    envoyé par un téléphone mobile avec «autocorrect» démoniaque
>    On Thu, Nov 8, 2018, 18:07 Graham Percival <[1][email protected]
>    wrote:
> 
>      Careful there!  "--exclude" only accepts a single value.
> 
>    Except it takes globbed names, right?

Yes, provided that the shell doesn't expand them.  (so put the globbed name
inside quotes)

For example:

$ ls double-zeros*
double-zeros-bsd.tar  double-zeros-gnu.tar
$ tarsnap -c --dry-run -v --include double-zeros* double-zeros-*
a double-zeros-bsd.tar
$ tarsnap -c --dry-run -v --include "double-zeros*" double-zeros-*
a double-zeros-bsd.tar
a double-zeros-gnu.tar
$

I'll add a warning about this to selecting-files.html.

Cheers,
- Graham

Reply via email to