Windows: File copy/move with filename regular expressions?
Posted
by Ian Boyd
on Super User
See other posts from Super User
or by Ian Boyd
Published on 2010-06-06T20:50:29Z
Indexed on
2010/06/06
20:53 UTC
Read the original article
Hit count: 497
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?
© Super User or respective owner