Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

karankar

macrumors newbie
Original poster
Hey, just started this thread for people that need help in writing terminal commands.

Anyway, here's my issue.

In an MS DOS command prompt, if I am in a directory with many binary files with numerically-ordered file names, (i.e. fragment.dat.001 fragment.dat.002 fragment.dat.003 ...)

I can type

"copy /b fragment* file.dat"

and it will combine all the fragments together, in order, into a single file (i.e. file.dat),

Is this possible in the Mac OS X Terminal?

If so, what is the command?
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.