Skip to main content
2 of 2
Fix the link.
Stephen Kitt
  • 481.4k
  • 60
  • 1.2k
  • 1.4k

Someone on Twitter suggested using -delete instead of -exec rm -f{} \;

This has improved the efficiency of the command, it still uses recursion to go through everything though.

Toby
  • 4.1k
  • 4
  • 22
  • 16