Skip to content

Instantly share code, notes, and snippets.

@kambara
Created April 30, 2011 14:20
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kambara/949705 to your computer and use it in GitHub Desktop.
Save kambara/949705 to your computer and use it in GitHub Desktop.
カレントディレクトリ内のディレクトリだけを削除(ファイルは残す)
find ./* -maxdepth 1 -type d -print0 | xargs -0 rm -rf
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment