Skip to content
Snippets Groups Projects
doc.sh 564 B
Newer Older
Guilhem Saurel's avatar
Guilhem Saurel committed
# Removes useless folders, and set permissions
set -e

cd /net/cetus/data/gepetto/Doc

for namespace in *; do
    pushd $namespace
    for project in *; do
        pushd $project
        for branch in *; do
            pushd $branch
            for folder in html doxygen-html; do
                [[ -d $folder ]] || continue
                cp -r $folder/* .
                rm -r $folder
            done
Guilhem Saurel's avatar
Guilhem Saurel committed

find . -type d -exec chmod 0775 {} \;
find . -type f -exec chmod 0664 {} \;