Skip to content

Instantly share code, notes, and snippets.

@olitomas
Created October 14, 2016 02:17
Show Gist options
  • Save olitomas/ebca14b89ca8c21463867952fedf90f9 to your computer and use it in GitHub Desktop.
Save olitomas/ebca14b89ca8c21463867952fedf90f9 to your computer and use it in GitHub Desktop.
Terminal chmod recursive (réttindastýringar)
//Þetta setur allar möppur sem 755 (recursive)
find . -type d -exec chmod 755 {} \;
//Þetta setur alla fæla sem 644 (recursive)
find . -type f -exec chmod 644 {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment