Bash Script

Vivek J. Patankar list307 at gmail.com
Tue Jul 10 23:47:20 UTC 2007


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

-- 
Regards,
विवेक ज. पाटणकर (Vivek J. Patankar)

Registered Linux User #374218
Fedora release 7 (Moonshine)
Linux 2.6.21-1.3228.fc7 x86_64




More information about the fedora-list mailing list