How to execute a command only on directories in Linux recursively

 This command will add group executable permissions only to directories recursively:

sudo find ./ -type d -exec chmod g+x {} + 

Comments

Popular posts from this blog

Accessing Windows Share (Samba) From Linux (XFCE) using Thunar

Bypassing the error by "go get" "tls: failed to verify certificate: x509: certificate signed by unknown authority"

Using phpword to merge two Mircrosoft Office Word .docx documents