The UNIX and Linux Forums  

Go Back   The UNIX and Linux Forums > Special Forums > UNIX Desktop for Dummies Questions & Answers
Google UNIX.COM



Thread: rm command
View Single Post in UNIX Forums - Click on the Thread or Permalink to View Entire Thread -->
  #3 (permalink)  
Old 04-14-2008
era era is offline
Herder of Useless Cats
 

Join Date: Mar 2008
Location: /there/is/only/bin/sh
Posts: 2,713
Actually that command will remove all *log files -- be careful.

The basic idea is correct, just check the find manual page for how to check age instead of size. Search this forum for examples, this is a very frequent question here.
Reply With Quote