Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to copy certain files from the same directory to another dirctory in Windows Command Prompt?

I am fairly new here and didn't use a lot of Windows Command Prompt's advanced function. So bear with me...

Currently, I have a folder containing a lot of image files. The example file name is like 20130611.084021.c123.tif, which means YrMoDy.HrMinSec.cameraIDs.tif.

So I want to copy all of the files have the same following information in their file names to another folder: 20130611.08xxxx.c1xx.tif.

How can I do this in Windows Command Prompt?

like image 638
Nan An Avatar asked Dec 01 '25 09:12

Nan An


1 Answers

copy 20130611.08*.c1*.tif <destination folder>
like image 97
NolanPower Avatar answered Dec 04 '25 01:12

NolanPower



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!