Recursively remove unnecessary executable-flags

Updated . Posted . Visible to the public.

Sometimes files attain executable-flags that they do not need, e.g. when your Windows VM copies them over a Samba share onto your machine.

From inside your Rails project directory call regularly:

geordi remove-executable-flags

Runs chmod -x on Ruby, HTML, CSS, image, Rake and similar files.


This script is part of our geordi gem on github Show archive.org snapshot .

Profile picture of Arne Hartherz
Arne Hartherz
Last edit
Dominik Schöler
Keywords
linux, unix, bash
License
Source code in this card is licensed under the MIT License.
Posted by Arne Hartherz to makandra dev (2010-09-07 08:13)