Sonntag, 5. April 2009

Get-Childitem an recursive comparing two directories part II

Same theme again. Here extended with some demo data. Now the $path parameter can either be absolute or relative.

Sorry Shay I found no way to do it using Split-Path, I wished Split-Path could do it. The substring solution shows pythonic influences. But I prefer a solution in time.

I did start extending this with some automatic copying of files, but I do not include those code here yet. There is some risk to spoil ones file by replacing the new by old ones.

Keine Kommentare:

Kommentar veröffentlichen