Windows: 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-express filename searches.
i can't find out how to find out if PowerShell has a Cmdlet to copy files; and if it does, how to find out if it supports regular expression filename matching.
Can anyone think of a way to perform a recursive file copy/move with regex filename matching?