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

Somewhy '--include' doesn't include



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.