Advertisement
Merzavets

Move files "*70-###*" into "###" folder respectively

Nov 29th, 2011
168
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. gci | where { $_.name -match "70-(?<FolderName>\d\d\d)" } | foreach { md $matches.FolderName; move $_ -Destination $matches.FolderName }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement