Skip to content

Instantly share code, notes, and snippets.

@Cellane
Created December 10, 2010 22:17
Show Gist options
  • Save Cellane/736919 to your computer and use it in GitHub Desktop.
Save Cellane/736919 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
echo -n "Adresář: "
if [ -d $adresar ]; then
find $zdroj -type f -regex ".*\.sh" -exec chown u+x '{}' ';' 2>/dev/null
else
echo "Adresář neexistuje!"
fi
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment