We receive a ton of files from external entities that we load into our system...mostly image-type files. Periodically the file dates on these show up with dates in the future and NDMP picks these up in the level 1 backups. Other than going through and 'touching' them individually, does anyone have an automated solution for fixing these? The file systems are all CIFS so a windows script/solution would be preferrable.
If they weren't spread out all over the place, touch would be fine - I went through a while back and "touched" everything old and thought I got all of them but they continue to show back up as we get "new" data. I think these come from data DVD's. I can't just "touch" everything as we sometimes need to see that info periodically.
maybe it's a process that needs to be changed, have a staging area where new DVDs get copied to. Data gets "touched" and then moved to appropriate location on the file system. Probably easier said than done but otherwise you will be crawling through the file system and looking for files where mod date > today date ? In that case maybe a couple more of youtube clips like that will keep you sane
There are too many hands in the pot to enforce a policy. I wrote a simple vbscript to search-and-touch (I called it tsa.vbs) files from the future. Assuming it finishes and does the job I'll post it here. VBScript is super-slow but the command processor is on every microsoft OS so it is portable.
dynamox
11 Legend
•
20419 Posts
•
87439 Points
403
0
Posted May 31st, 2011 07:00
touch ?
http://www.stevemiller.net/downloads/ctb10w32.txt