blob: 82168c543f96bd1b812315a4d920c7ac88b58ae2 [file] [log] [blame]
#!/usr/bin/env bash
# Utility function to convert repo site metadata files to XZ compressed files.
# One use case is to invoke with something similar to
#
# find . -maxdepth 3 -name content.jar -execdir convertxz.sh '{}' \;
source ${HOME}/bin/createXZ.shsource
# add -noforce if we should leave existing xml.xz files alone. (such as from a cron job,
# that repeatedly checks a directory tree via 'find', etc.
createXZ ${PWD} -