Computer Problems? Computing.Net has over 1,000,000 posts about all things technology related! Over 90% answered within 24 hours! Click here to start participating now! Also, be sure to check out the New User Guide.
Delete old files using Korn shell
Name: Kandiah M Ravindran Date: November 9, 2002 at 04:46:02 Pacific OS: LNUX CPU/Ram: not known
Comment:
I need a script for the following criteria.
I need to delete files older than the date I am passing in the arguments.
E.g: Here are the file names in the directory fname20021030.bak fname20021029.bak fname20021028.bak fname20021027.bak
delete1 fname 20021029 The program should delete all the files those are older than 20021029 It should leave 2 files in the above example.
Summary: I need a ftp script to delete old text files on a remote server based on the file retention rules such as 2 weeks, 1 month, etc. It can be written as a Korn script or Perl. Thanks for your help. ...
Summary: Hi all, I am a very new user for korn scripting and in a process of learning. i have a .bat file that calls a .vbs file which calls a macro used to convert an excel spread sheet to .csv file... Now i ...