Bash Script

Alexander Dalloz ad+lists at uni-x.org
Wed Jul 11 00:02:22 UTC 2007


Vivek J. Patankar schrieb:
> John Pierce wrote:
>> Does anyone know of a bash script that will recurse through a series
>> of directories and strip the executable bit from the files in those
>> directories and not the directories.
> 
> This worked for me.
> 
> $ find /path -type f -print | xargs chmod ugo-x

Caution, be aware of file names with spaces ;)

Alexander





More information about the fedora-list mailing list