Copy directory tree without copying files

Jeremy Conlin jlconlin at gmail.com
Wed Sep 23 17:04:00 CEST 2009


I am trying to copy a folder hierarchy from one location to another.
I can use the shutil.copytree function to copy the folder tree, but I
don't want the files copied, just the folders.  What is a good way to
approach this?

Thanks,
Jeremy



More information about the Python-list mailing list