View Single Post
  #1   (View Single Post)  
Old 14th July 2008
disco disco is offline
New User
 
Join Date: Jul 2008
Posts: 2
Default Create a script to rmove oldest files

ok, I have never written a shell script before. What I need to do is remove the oldest files from a known directory when the hard disk is above a certain size, so that the hard disk never becomes full and the oldest data removed.

Any help would be grateful and even better if someone can code me the script
Reply With Quote