Hi Theodoros,

In data mercoledì 22 luglio 2009 13:19:43, [email protected] ha scritto:
> Hi to all,
>
> I probably found an issue with bibdocfile, and since you're in the
> process of applying many fixes to it, I thought I should mention it.
>
> The problem appears when using wildcards to delete specific bibdocs.
> For example, let's say I run:
> bibdocfile --delete icon-arc* -c "Archive Collections AUTH"
>
> Although according to --help, the above command should delete all
> bibdocs that begin with icon-arc, it produces an .xml file that
> contains ALL the files from the "Archive Collections AUTH" collection
> regardless of the actual filename...
>
> I've tried the same command with icon-arc*, "icon-arc*", icon* and
> "icon*" strings, with the exact same results (returns all docfiles
> from the above collection).
>
> I've also tried removing the collection part and instead using --all,
> but again got all the filenames of all the collections, regardless of
> the filename.
>
> FYI, I used both the official 0.99.1 bibdocfilecli.py and the latest
> one found in the official cds-invenio.git, but not the one in the
> cds-invenio-sam.git branch.
>
> Can you verify my findings?
> Is it indeed a problem, or am I doing something wrong?
>
> Best regards,
> Theodoros

Thanks for reporting this. I just tested and I can confirm you that this is 
fixed in my public fulltext-tools branch (which will very soon be merged into 
the master branch and be part of the official tree).

Just as a side note, bibdocfile command line tools has been completely 
rewritten and extended and some operations have now a slightly different 
syntax. E.g. your request will then issued with:

$ bibdocfile --delete --with-docname="icon-arc*" -c "Archive Collections AUTH"

Best regards,
        Sam

-- 
Samuele Kaplun ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to