Today a client got Cryptolocker and lost part of its files. This is not a big issue as we have backup running and updated but I'm facing an issue on restoring files. Long story short I need to run a copy script that act like this: IF file.ext.enc is present in destination (C:\ folder) \ Copy file.ext from source folder (on a nas) \ Delete file.ext.enc ELSE Skip and go on with file2.ext.enc It needs to check if there is there is the .enc file in the destination (aka the crypted one) and copy the file ONLY if exists (and in this case delete the .enc), else just go on with the next file/folder This needs to go on for all folder and subfolder of the source and destination Any help? It doesn't need to be a script, I can also use some utility that does the same. Thanks!