Skip to content

Instantly share code, notes, and snippets.

@aqlx86
Created November 7, 2013 04:27
Show Gist options
  • Save aqlx86/7348968 to your computer and use it in GitHub Desktop.
Save aqlx86/7348968 to your computer and use it in GitHub Desktop.
add file to all subdirectories
find -mindepth 1 -maxdepth 1 -type d -exec touch {}/file \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment