Skip to content

Instantly share code, notes, and snippets.

View mikerodrick's full-sized avatar

Mike Rodrick mikerodrick

View GitHub Profile
@mikerodrick
mikerodrick / MoveFiles.ps1
Created November 30, 2018 14:37
Move mp4 files based on a list of names
$files = Get-Content D:\list.txt
foreach ($file in $files) {
$sourcePath = "d:\source\" + $file + ".mp4"
$destinationPath = "d:\destination\"
Move-Item $sourcePath $destinationPath
}