[thelist] copying directories via PHP?!?
Daniel J. Cody
djc at members.evolt.org
Mon Dec 10 15:51:16 CST 2001
cp -a is the command you're looking for to do this from a shell
.djc.
Jason Morehead wrote:
> hey all...
>
> i'm trying to write a script that will take an existing directory, and
> copy all of its contents (subdirectories and all) into a new directory.
> is there some sort of "cpdir" function, a la "mkdir"? i've been fiddling
> with a few different ideas, but nothing i've come up with seems to
> work. any help/ideas are appreciated. thanks much...
>
> jason
More information about the thelist
mailing list