Skip to content

Instantly share code, notes, and snippets.

@thomashartm
Created June 27, 2014 06:20
Show Gist options
  • Save thomashartm/98bc71cf38e27250d8d6 to your computer and use it in GitHub Desktop.
Save thomashartm/98bc71cf38e27250d8d6 to your computer and use it in GitHub Desktop.
File vault snippted to export resources from crx using vlt
To execute a filtered export:
vlt co http://localhost:4502/crx/-/jcr:root foundation
Create a filter.xml before at META-INF/vault/filter.xml.
<?xml version="1.0" encoding="UTF-8"?>
<workspaceFilter version="1.0">
<filter root="/etc/designs/geometrixx" />
<filter root="/libs/foundation/components"/>
</workspaceFilter>
Or just reference the matching filter.xml
vlt co --filter filter.xml http://localhost:4502/crx/-/jcr:root foundation
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment