Quantcast
Channel: /r/powershell – How to Code .NET
Viewing all articles
Browse latest Browse all 8793

Find and replace script

$
0
0

Hello,

Looking for some help writing a script to restore some files.

Here is what I am looking to do.

Source : C:/Files/ has a number of folders with files, some of them were encrypted with Ransomware and have a .tzu extention.

R:/Files/ recovered files

I need a script to find all instances of files with .tzu in the source folders and replace it with the file located in the R drive if it exists.

Has anyone come across a script that could do this?

submitted by /u/lenovoguy
[link] [comments]

The post Find and replace script appeared first on How to Code .NET.


Viewing all articles
Browse latest Browse all 8793

Trending Articles