std::experimental::filesystem::copy_options

From cppreference.com
< cpp‎ | experimental‎ | fs
Defined in header <experimental/filesystem>
enum class copy_options {

    none = 0,
    skip_existing = 1,
    overwrite_existing = 2,
    update_existing = 4,
    recursive = 8,
    copy_symlinks = 16,
    skip_symlinks = 32,
    directories_only = 64,
    create_symlinks = 128,
    create_hard_links = 256

};
(filesystem TS)

[edit] Constants

{{dsc | copy_symlinks
Constant Meaning
skip_existing do not overwrite existing file or report an error
overwrite_existing overwrite existing file
update_existing overwrite existing file if it is older than the replacement
recursive recursively copy sub-directories and their contents
skip_symlinks ignore symbolic links
directories-only copy directory structure only, skip all files
create_symlinks create symlinks instead of copying the files. The source path shall be an absolute path unless the destination path is in the current directory.
create_hard_links create hard links instead of copying the files

[edit] See also