How to copy a directory tree?

Anything QL Software or Programming Related.
Post Reply
User avatar
programandala.net
Chuggy Microdrive
Posts: 74
Joined: Mon Dec 13, 2010 12:41 pm
Location: Spain
Contact:

How to copy a directory tree?

Post by programandala.net »

I forgot how to copy a directory tree with real directories. I'm using SMSQmulator, and I need to copy the contents of a .win file to a bigger one. But `wcopy` or the QPAC2 tools just copy the files with filename pseudo-directories, the old way. I think there was a way to do this, but I can not remember. I'm searching the QPC Keywords manual, but I've found nothing yet.


Marcos Cruz (programandala.net)
User avatar
tofro
Font of All Knowledge
Posts: 3094
Joined: Sun Feb 13, 2011 10:53 pm
Location: SW Germany

Re: How to copy a directory tree?

Post by tofro »

Hi,

C68 comes with a port of the Unix command "cp". This can copy whole directory trees with the -r option.

Tobias


ʎɐqǝ ɯoɹɟ ǝq oʇ ƃuᴉoƃ ʇou sᴉ pɹɐoqʎǝʞ ʇxǝu ʎɯ 'ɹɐǝp ɥO
Post Reply