Skip to content

Instantly share code, notes, and snippets.

@belukov
Created August 18, 2020 13:02
Show Gist options
  • Select an option

  • Save belukov/cfca6f86955d5375e5d3aa3b38872a93 to your computer and use it in GitHub Desktop.

Select an option

Save belukov/cfca6f86955d5375e5d3aa3b38872a93 to your computer and use it in GitHub Desktop.
#!/bin/bash
TARGET=${1:?"Usage $0 <path to root dir>"}
find $TARGET -type d -exec chmod a+rx {} +
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment