[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Bash Script



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



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]