Hi can anyone helpme out in writing a batch file to delete archived log files.
The batch file should delete the files in those folders that meet the criteria(files older than 3 months)and if all the files in the folder are deleted then the folder itself should be deleted.
Duvva
0
Newbie Poster
Recommended Answers
Jump to PostRead the manual page for 'find'
Look specifically at the -mtime option.
All 2 Replies
Reply to this topic
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.