Super User is a question and answer site for computer enthusiasts and power users. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I have splitted text files into parts and the parts that belong to a file is ended as part1,part2 ,... partn

I want to copy only part 03 files to another folder.

I would like to do it in windows but if its easier to do it in linux then ok, i have access to a linux virtual machine as well.

Note:- there is a space between part and 03

share|improve this question
    
Take a look at cygwin if you want to able to use the Unix-style command line utilities under Windows. – JOTN Apr 4 '12 at 22:43
up vote 3 down vote accepted
copy *part3 d:\some\other\place
share|improve this answer
    
@klijo FYI: This is the Windows command. – Darthfett Apr 4 '12 at 17:43
    
hi there is a space between the 3 and part. How can i handle them ? – klijo Apr 5 '12 at 2:26
    
Use quotes around the space. – Ignacio Vazquez-Abrams Apr 5 '12 at 2:27
    
i did this -> copy *"part 03" d:\test but it didnt work, next i tried doing copy *"part" d:\test. still it didnt work. – klijo Apr 5 '12 at 2:35
    
ok this command worked copy * "part 03" * d:\test – klijo Apr 5 '12 at 2:42

This is the linux equivalent:

cp *part3 /d/some/other/place
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .