For years I have been using the syntax:
$ find . -type f -exec rm {} \;
For some reason I took the time to read the man page for find today and guess what:
$ find . -type f -delete
Does the exact same thing and it is almost instant. Lesson learned, every now and again read the man page.
@maxclark
- How does your logo look to a 5 year old? http://t.co/OSPns8Ra 5 days ago
- good grief rt# pkg_info | wc -l 212 6 days ago
- is there a perl module that RT doesn't use? sigh. 6 days ago
- "The General has lost his contact lens." 1 week ago
- wow, go #SEALs ! 1 week ago
- Omg!!! 2 weeks ago
- Testing (at @wanphy) — http://t.co/Qo0Av6r8 2 weeks ago
Recent Comments
-
Recent Posts