I need to know how to apply a CHMOD command to only files that have a specific name recursively?
chmod 755 -R filename
Something like above but it should apply to any filename that exists in any sub folders.
|
I need to know how to apply a CHMOD command to only files that have a specific name recursively?
Something like above but it should apply to any
| |||
|
feedback
|
|
This will find all files named filename, recursively from the current directory, and pass them to
See the manpages for | |||
|
feedback
|
|
There's also a exec parameter in find that will do the same:
| |||||||
feedback
|
|
You can get the best of both worlds if you use the
You should always put a | |||
|
feedback
|
filename– Camsoft Jan 18 '10 at 16:34