copy_option Enumeration <filesystem>
An enumeration that is used with copy_file and determines behavior if a destination file already exists.
Syntax
enum class copy_options { none = 0, skip_existing = 01, overwrite_existing = 02, update_existing = 04, recursive = 010, copy_symlinks = 020, skip_symlinks = 040, directories_only = 0100, create_symlinks = 0200, create_hard_links = 0400 };
Members
Values
Name |
Description |
---|---|
none |
|
skip_existing |
Do not copy if the file already exists. |
overwrite_existing |
Overwrite the file if it already exists. |
update_existing |
|
recursive |
|
copy_symlinks |
Copy symbolic links |
skip_symlinks |
|
directories_only |
Only iterate over directories. |
create_symlinks |
|
create_hard_links |
Requirements
Header: filesystem
Namespace: std::tr2::sys::copy_option