Skip to content

Instantly share code, notes, and snippets.

@bassemZohdy
Created July 10, 2017 16:40
Show Gist options
  • Save bassemZohdy/e3a03da2e60f83be4b964deb6fd8e393 to your computer and use it in GitHub Desktop.
Save bassemZohdy/e3a03da2e60f83be4b964deb6fd8e393 to your computer and use it in GitHub Desktop.
#/bin/bash
# if sudo not required
# find . -name *.sh 2>>/dev/null| xargs chmod +x
find . -name *.sh 2>>/dev/null| xargs sudo chmod +x
# to verify
# find . -name *.sh -ls 2>>/dev/null
# OR
# find . -name *.sh 2>>/dev/null| xargs ls -l
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment