Forum Home
Press F1
 
Thread ID: 113518 2010-10-23 11:00:00 Copy Script By Modified Time berryb (99) Press F1
Post ID Timestamp Content User
1147126 2010-10-23 11:00:00 I have a backup file (.bak) that is dumped into a folder about 10pm every night. This folder is full of these .bak files at around 60meg each. I have to keep at least a month of these in this folder but only need to copy off the lastest .bak nightly to offsite secure site.

I had a script that would copy any file that was modified in the last 6 hours (only the one file) from the folder and copy to another folder. It was then compressed and sent off site using third party software.

Problem now is I need to redo the script and can't find it. I can't remember if it was a VBS script or what.

Any recommendations for what to use and some scripts?
berryb (99)
1147127 2010-10-25 05:55:00 Whats the O/S on it? pctek (84)
1147128 2010-10-25 08:39:00 Powershell. inphinity (7274)
1147129 2010-10-25 12:05:00 Should has siad OS is XP.

I'm sure it used the Copy and Find commands but can't remember.

The PC it was on was replaced and given away so script may still be on it. Only just got to get access to it.
berryb (99)
1