Boost logo

Boost Users :

Subject: Re: [Boost-users] boost file system, copy directories, create directory structure
From: Paul Kerchen (pkerchen_at_[hidden])
Date: 2009-12-02 15:31:59


> From: boost-users-bounces_at_[hidden] [mailto:boost-users-bounces_at_[hidden]] On Behalf Of Avi Bahra
> With boost 1.39 file system, is it possible to copy directories . ie recursive copy
> likewise given a path, need a way of creating the directories ?
> Could have missed this, but could not find such functionality in boost file system

I don't know if boostfs offers a recursive copy feature, but I believe create_directories() will create an entire tree from a Path.

See: http://www.boost.org/doc/libs/1_39_0/libs/filesystem/doc/reference.html#Convenience-functions

Paul Kerchen
Realtime Technologies, Inc.
1523 N. Main St.
Royal Oak, MI 48067
248 548 4876 ext. 206
248 548 6036 (fax)
www.simcreator.com


Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net