The UNIX and Linux Forums  


Go Back   The UNIX and Linux Forums > Top Forums > Shell Programming and Scripting
.
google unix.com




View Single Post in the UNIX and Linux Forums - Click on the Thread or Permalink to View Entire Thread -->
  #1 (permalink)  
Old 12-11-2006
siva80_cit siva80_cit is offline
Registered User
  
 

Join Date: May 2006
Posts: 2
Delete Some Old files from Particular Directory

Hi Team,
I am new to scripting. I want to create a script, which needs to keep only 5 days directories and want to remove the old directory from a particular directory. Can Somebody help me with starting this script.

All my directories will be created in the name <YYYYMMDD>.

Thanks in Advance..

Rgds,
Siva