News for hackers. Stuff that matters.
Re:Interesting commands for the Linux shell by schoen on Thursday September 14, 2017 @12:23PM (#15249513)
This is more correct than the previous poster's approach, because it will work with files that contain space characters, while the previous poster's version breaks in this situation.

Another approach that works is

  find . type f -print0 | xargs -0 chmod -x
although find's built-in -exec can be easier to use than xargs for constructing some kinds of command lines.
Re:Interesting commands for the Linux shell by majewsky on Friday September 15, 2017 @09:53AM (#15257134)
You probably want a -r with that xargs. -r makes it exit without executing the command line if stdin is empty.
Re:Interesting commands for the Linux shell by schoen on Friday September 15, 2017 @01:11PM (#15258837)
I totally forgot about the case where find gives no output.