Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # run in \\path2 (different from \\path1)
- # optional: use -whatif or -confirm with "ri"
- # optional: use "mi" instead of "ri" to move files
- gci -r \\path1 -filter *.jpg | % { gci $_.name -r | ri -force}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement