Comments on: bash: xargs is your friend /2008/06/bash-xargs-is-your-friend/ Sarah Allen's reflections on internet software and other topics Thu, 20 May 2010 22:43:39 +0000 hourly 1 https://wordpress.org/?v=5.7.1 By: barton /2008/06/bash-xargs-is-your-friend/#comment-307 Thu, 20 May 2010 22:43:39 +0000 /wordpress/?p=390#comment-307 Sarah, this post is from 2008 but as it’s beyond handy:

$ find . -type d -exec chmod 775 {} ;

So after you find whatever you want (all directories in this branch in this case) you then execute the chmod command with the curly brackets substituting in the found directories, and end the phrase with the sequence ;

]]>