Powershell: File copy/move with filename regular expressions?
- by Ian Boyd
i basically want to run:
C:\>xcopy [0-9]{13}\.(gif|jpg|png) s:\TargetFolder /s
i know xcopy doesn't support regular-expression filename searches.
i am told that Powershell can do such a thing, although not given any syntax.
Can anyone give the syntax of the above xcopy, but in PowerShell format?