Untitled
public text v1 · immutable#!/bin/bash
DEST_PATH="/data/repository/opensuse/102"
set -x
for dir in `find $DEST_PATH/* -type d -name repodata`; do
if [[ ${dir} == */suse* ]]; then
continue;
fi;
pushd "$dir/..";
createrepo -q -c .cache -C .;
popd;
done;