![]() |
boost::filesystem::copy_options — Option flags for copy and copy_file operations.
// In header: <boost/filesystem/operations.hpp> enum copy_options { none, skip_existing, overwrite_existing, update_existing, synchronize_data, synchronize, ignore_attribute_errors, recursive, copy_symlinks, skip_symlinks, directories_only, create_symlinks, create_hard_links };
These options can be combined using bitwise OR and passed to copy_file() and copy() operations to customize their behavior.
nonecopy_file: error if the target file exists. For copy: do not recurse, follow symlinks, copy file contents. skip_existingoverwrite_existingupdate_existingsynchronize_datasynchronizeignore_attribute_errorsrecursivecopy_symlinksskip_symlinksdirectories_onlycreate_symlinkscreate_hard_links