I mentioned that using multiple filters with fcrepo-store-util as a
sort of 'pipeline' was possible during the call today, but didn't have
an example on hand. I just committed one, fyi:

https://github.com/cwilper/fcrepo-store/commit/c62f603437f04a41fa389a615c4f93b8962286cc

NOTE: this utility is still under early testing; so if you want to try
it out (against a non-critical repo or backup of your repo, of
course), I've deployed a snapshot release here:

https://oss.sonatype.org/content/repositories/snapshots/com/github/cwilper/fcrepo-store/fcrepo-store-util/0.1.0-SNAPSHOT/fcrepo-store-util-0.1.0-20120315.163213-1-install.tar.gz

After unpacking it:
1) see config/config.properties and set the path of the default
'akubra' (or 'legacy' if pre-akubra) to the appropriate directories in
your repository.
2) to list everything in your repo, run the following:
  bin/fcrepo-store-util list akubra all unfiltered
3) to list everything but demo objects in your repo (employing the
multi-filter noted above), run the following:
  bin/fcrepo-store-util list akubra all exclude-demo-objects

...it works similar for 'copy'. See conf/commands/*.xml for complete
usage info on the currently-implemented commands.

- Chris

------------------------------------------------------------------------------
This SF email is sponsosred by:
Try Windows Azure free for 90 days Click Here 
http://p.sf.net/sfu/sfd2d-msazure
_______________________________________________
Fedora-commons-developers mailing list
Fedora-commons-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fedora-commons-developers

Reply via email to