If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Unix Shell Scripts > Urgent (unix date comparison and deletion)

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 10-25-05, 08:40
monish monish is offline
Registered User
 
Join Date: Oct 2005
Posts: 1
please help in deletion based on date by 3 or more days

Hello friends,

There is ftp server where some files are created.Due to the space crunch the files are to be everytime deleted manually so for that reason i need to rite a unix script which connects to the ftp server and deletes all the files which are 3 or more days older.I basically need help that how should i check the date property of all the files and remove them which are old by 3 days or more i.e. i want to create a date check for the files.
can i get any help please help me out...its urgent

Last edited by monish; 11-07-05 at 06:57. Reason: title was not clear
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On