I am wanting look in a directory...as in a current directory...let us say \COMPANY
Within this directory have multiple files listed by date such as
test20040802.Z
test20040803.Z
test20040804.Z
I want to be able to delete the files that would have date being greater than sysdate mine 100 days..
In other words, if the file was test20040101.Z this script would delete the file...I am using Bourne Shell...
Thanks
Within this directory have multiple files listed by date such as
test20040802.Z
test20040803.Z
test20040804.Z
I want to be able to delete the files that would have date being greater than sysdate mine 100 days..
In other words, if the file was test20040101.Z this script would delete the file...I am using Bourne Shell...
Thanks