UNSOLVED

DanJost

updated

15 years ago

D

DanJost

190 Posts

0

672

May 31st, 2011 06:00

Files from the Future

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.

Dan

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    403

    0

    Posted May 31st, 2011 07:00

  • DanJost

    190 Posts

    403

    0

    Posted May 31st, 2011 07:00

    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.

    I usually run this in the background and use it to time myself so I don't go nuts: http://www.youtube.com/watch?v=3-4J5j74VPw

    Dan

  • dynamox

    11 Legend

    20419 Posts

    87439 Points

    403

    0

    Posted May 31st, 2011 07:00

    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

  • DanJost

    190 Posts

    403

    0

    Posted June 2nd, 2011 06:00

    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.

    Dan

  • Rainer_EMC

    6 Operator

    8645 Posts

    403

    0

    Posted June 3rd, 2011 07:00

    I think that would be a lot easier to do from Unix