File move with shortcuts issue

Technical Support

File move with shortcuts issue


bradray 09-02-2009, 14:33
I use noclone to help archive file systems about once a year, moving the files to a NAS and leaving a shortcut behind pointing to the new file location. 

Last night I did so at a customer site and for some reason I moved everything instead of just the files that haven't been modified in over a year.  I'm not sure exactly what happened, but I'm not too concerned with that part.  I moved all the files that have been modified in the past year back to where they were, but I need some help figuring out how to remove all the 32,000 shortcuts that are right next to the files that I put back.

Normally I would just delete all the .lnk (shortcut) files, but they are interspersed with many shortcut files that I need to keep (for the files that are older than a year).

So basically I want to identify any shortcut file that has an identical name as an existing file (in the same folder) and delete it.

Any ideas?

Powered by Community Server, by Telligent Systems