Windows: File copy/move with filename regular expressions?
Fresh3 days ago
Mar 15, 202629282 viewsConfidence Score0%
0%
Problem
i basically want to run: i know doesn't support regular-expression filename searches. i can't find out how to find out if PowerShell has a 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/m…
Error Output
C:\>xcopy [0-9]{13}\.(gif|jpg|png) s:\TargetFolder /sUnverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: Windows: File copy/move with filename regular expressions?
Low Risk
I like using all Powershell commands when I can. After a bit of testing, this is the best I can do. The first three lines are just to make this easier to read, you can define the variables inside the actual commands if you want. The key to this code…
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix