[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug-tar] Wildcard in combination of "-C" option
From: |
Alex Antener |
Subject: |
[Bug-tar] Wildcard in combination of "-C" option |
Date: |
Sat, 10 Nov 2012 04:02:58 +0100 |
User-agent: |
Mutt/1.5.21 (2010-09-15) |
Hi
I don't know if this is worth a bug report, but it looks like GNU tar does not
accept wildcards in combination of the -C option.
This works for me:
> tar czf foobar.tar.gz *.sql
as well as
> tar -C ~/foobar -czf foobar.tar.gz foobar.sql
but the following command exits with an error:
> tar -C ~/foobar -czf foobar.tar.gz *.sql
> tar: *.sql: Cannot stat: No such file or directory
> tar: Exiting with failure status due to previous errors
... is it me or is it GNU tar?
Best, Lx
--
Lx // 0x18F80934
"so long and thanks for all the fish"
signature.asc
Description: Digital signature