I am only new to scripting and do not pretend to know a lot about it, with that said can anyone help me write a script/batch file to do the following.
I create backups of client machines while they are repaired, these backups are then put on our NAS but after a period of 2 months from date of creation I want a batch file to automatically delete them. but only the files that are 2 months old other files that are not 2 months old I need left intact
Is the possible or am I going to have to keep going through the files to see which ones are2 months old?
Any help in this will be greater appreciated
Free Guide: Managing storage for virtual environments
Complete a brief survey to get a complimentary 70-page whitepaper featuring the best methods and solutions for your virtual environment, as well as hypervisor-specific management advice from TechTarget experts. Don’t miss out on this exclusive content!