Comments (2)
  • Add a Comment
  • Edit
  • More Actions v
  • Quarantine this Entry

1 jeffschaller42 commented Permalink

If you don't mind seeing rmdir complaining about some non-empty directories, this comes close: <br /> find . -depth -type d -links 2 -exec rmdir {} \; <br />

2 dxtans commented Permalink

nice piece ! Like the explanation on the rm -p