I'm running Veritas, and backing up the exchange database to disk, on a 5 day rotation.
Each of these folders has multiple IMG**** folders, 2 are created everyday, one for each store. I need to grab the most recent 2, and move them to another folder, on the same drive NOT COPY so I can then backup those 2 folders along with the OS backup2disk data. Last step would be to move the two folders back, script that runs at end of veritas job They have to go back, because Veritias needs to overwrite the oldest folders to actively manage the directory size, rolling.
GRT disk management didn't work in 11d, but its works great in 12.5 ( grt append function to disk backups)
I've played with the for command in other areas, but I can't ferret out how to grab via folder date
If? FOR? VBS something???