Skip to content

Instantly share code, notes, and snippets.

View joannaho's full-sized avatar

Joanna Ho joannaho

  • American Chemical Society
  • Washington, DC
View GitHub Profile
@asabaylus
asabaylus / vlt add remove
Created June 19, 2012 01:24
Add / Remove for Adobe CQ5 VLT
# remove from CRX all files deleted from file system
$ vlt st | grep ! | cut -c 2- | xargs -I {} vlt rm {}
# add to CRX all files not yet in vlt control
$ vlt st | grep \? | cut -c 2- | xargs -I {} vlt add {}
# add all missing files into the CRX
vlt st | grep ^A | cut -c 2- | xargs -I {} vlt commit --force {}
# copy all modified files into the CRX