Quantcast
Channel: Windows PowerShell forum
Viewing all articles
Browse latest Browse all 21975

Comparing Folders, Sub Folders, Files by binary and copying the difference to a new location

$
0
0

Hi All, 

I have seen examples of using a Compare-Object  in powershell but it gets complicated for what i want to do, i have a rough idea how to use this; 

firstly i want to be able to compare NEW FOLDER to CURRENT FOLDER

Both folders will have identical folders, sub-folders however there may be some new files. 

Source code files, docs, pdf's and so on that may have text changes so the file size may not change. 

However the changes I find in the folders I would like to copy to a new folder with the same folder structure. 



Viewing all articles
Browse latest Browse all 21975

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>