Script to delete old files?????
I have started to run regular backups of my data files to another hard disk. It runs a full backup every week and incremental ones every day.
This works fine but, as you will imagine, it creates a load of files that need tidying up now and again.
Yes, I could go in and clean up manually, but, I would like to run a script each time I log on that automatically remove old/unwanted files - probably just keep the last Full backup and Incrementals since then.
Any suggestions for how to write such a script? I could do it in VB - is there anything more suitable?
Thanks!
This works fine but, as you will imagine, it creates a load of files that need tidying up now and again.
Yes, I could go in and clean up manually, but, I would like to run a script each time I log on that automatically remove old/unwanted files - probably just keep the last Full backup and Incrementals since then.
Any suggestions for how to write such a script? I could do it in VB - is there anything more suitable?
Thanks!