Hello Pieter,
sounds like a reasonable feature request to me. To be most flexible, I would suggest to allow regex in the input path. Christian, would do you think?
In the meantime, you can already do the same thing using XQuery instead of database commands. Something like
for $f in file:list('your-directory') where not(starts-with(file:name($f), '.')) return db:add("DB", $f)
should emit adding files with a starting dot.
Cheers, Dirk On 11/02/2014 06:12 PM, Pieter Masereeuw wrote:
Hi!
It would be nice if there were a feature that basex could skip certain directories during the import. Now I have great trouble to remove (and later restore) all .svn-folders (Subversion) because I don't want them to be imported when I create a database.
Perhaps this is already a feature, but then I could not find it. In that case, perhaps a more conspicuous place in the documentation would be a good idea.
Thank you for an excellent product!
Pieter Masereeuw