#!/usr/bin/env bash # TODO permissions via arguments find . -type f -exec chmod 0664 {} + find . -type d -exec chmod 0775 {} +