[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Somewhy '--include' doesn't include
- To: tarsnap-users@tarsnap.com
- Subject: Somewhy '--include' doesn't include
- From: Igor Ostapenko <igor.ostapenko@gmail.com>
- Date: Mon, 4 Jan 2016 21:35:21 +0200
- Face: iVBORw0KGgoAAAANSUhEUgAAADAAAAAwBAMAAAClLOS0AAAAMFBMVEUAAAAAAIAAgAAAgICA AACAAICAgADAwMCAgIAAAP8A/wAA////AAD/AP///wAAAACqmwKpAAAAAXRSTlMAQObYZgAAAPFJ REFUeJyN1LuShTAIAND8NekooeNzoWPReCPcJbObwtEcecSoww9jpHOYJwBoQQOwA4IcMkpAChk1 4A15AbiEbNBJ1AJMKLk+YFP/AqygcgIHKLl2KjtArG/2ETB7UJg8OyDgGNc8FdApkS7q0BcQro7j 0VQAiSpoqKiECUzujbq2XZ9XYjzrvqLgQn3aeiNWSvQCzL5HBmORDVSAX9BU3CRDriGrr/smy6mc dl/meR2uiDtXXrnbnpcKcS2fO6SAP9cs5gVsQbQk32D30RuIGZJfsKr33yA7YQt2Z2pAPe1K+c79 9ANwOQAfwQ/g/4IfFwsDioULBEUAAAAASUVORK5CYII=
- Openpgp: id=FDD1E68BAB02BCB54B587C686604BB2A48FE9F99
Hi,
Is tar globbing so weird or I'm doing something wrong?
$ tarsnap -cv --dry-run --include='*' test
a test
a test/dir2
a test/file1
a test/file2
a test/foo1
a test/foo2
Total size Compressed size
All archives 5.6 kB 1.8 kB
(unique data) 5.6 kB 1.8 kB
This archive 5.6 kB 1.8 kB
New data 5.6 kB 1.8 kB
$ tarsnap -cv --dry-run --include='*foo*' test
Total size Compressed size
All archives 1.4 kB 1.3 kB
(unique data) 1.4 kB 1.3 kB
This archive 1.4 kB 1.3 kB
New data 1.4 kB 1.3 kB
$ tarsnap --version
tarsnap 1.0.36.1
Thanks in advance for any advice.