Problems with pattern matching

Fabio Muzzi <[email protected]> Mon, 14 Nov 2005 17:55:10 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <[email protected]>
Hello star-users,

  I  am  a  new  Star user, I have installed it since I need ACL and XATTR
  support.

  I  have  been  able to backup and restore a tree with acls, but I cannot
  apply pattern matching to restore only some files.

  I am using star version  1.5a57 (from Debian Sarge distro).

  I have an archive that if listed shows something like this:

linuxsrv:/ud1# star ztpf test2.star.gz -xattr -acl -U -C test5
/ud1/test3/
/ud1/test3/acquisti/
/ud1/test3/acquisti/ECOENERGY/
/ud1/test3/acquisti/ECOENERGY/ANALISI CENTRALE BUS.xls
/ud1/test3/acquisti/ECOENERGY/Tubazione di adduzione alla turbina 1.pdf
/ud1/test3/acquisti/ECOENERGY/Tubazione di adduzione alla turbina 2.pdf
/ud1/test3/acquisti/FAX/

[cut]

Now, I want to restore only files with "ECO" in the file or path name.

I have tried with:

star -z -x -p -f=test2.star.gz -xattr -acl -U -C test5 pattern=*ECO*

and also with:

star -z -x -p -f=test2.star.gz -xattr -acl -U -C test5 '*ECO*'

but it does not restore anything at all.

If  I omit the pattern it restores all (that's ok) and if I use a complete
file name as in (it's a single line of course):

star -z -x -p -f=test2.star.gz -xattr -acl -U -C test5
'ud1/test3/acquisti/ECOENERGY/ANALISI CENTRALE BUS.xls'

I can get star to extract the right file.

Now,  maybe  it's  a  faq,  but i have read the manual three times, made a
gazillion  tests,  but  I  was not able to restore files selectively using
pattern matching. What am I doing wrong?

Thanks for your patience.

-- 

  Fabio "Kurgan" Muzzi