The website of Lei Chen

Sunshine and rain of a developer

Posts Tagged ‘shell’

Chmod recursively in directory

Posted by hide1713 on November 14, 2008

Chmod recursively in directory

remove execute from files under aa directory. This is useful when you copy files from fat or ntfs.

find aa/ -type f -exec chmod -x {} \;

Posted in shell | Tagged: , | Leave a Comment »