##### cppreference.com

##### Search

Create account

##### Namespaces

- Page
- Discussion

##### Variants

##### Views

- View
- Edit
- History

##### Actions

# 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)

| This section is incomplete

### [edit] Constants

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
{{dsc | `copy_symlinks`
`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

| This section is incomplete

Retrieved from "http://en.cppreference.com/mwiki/index.php?title=cpp/experimental/fs/copy_options&oldid=68487"
Category:

- Todo without reason