1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-23 11:42:08 +02:00
tldr/pages/windows/xcopy.md
Marco Bonelli 2599a6de48 Refactor: change "folder" to "directory" where needed.
This commit fixes every instance in which the word "folder" is
incorrectly used instead of "directory".
2019-02-13 20:51:04 +05:30

35 lines
908 B
Markdown

# xcopy
> Copy files and directory trees.
- Copy the file(s) to the specified destination:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}}`
- List files that will be copied before copying:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /p`
- Copy the directory structure only, excluding files:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /t`
- Include empty directories when copying:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /e`
- Keep the source ACL in the destination:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /o`
- Allow resuming when network connection is lost:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /z`
- Disable the prompt when the file exists in the destination:
`xcopy {{path/to/file_or_directory}} {{path/to/destination}} /y`
- Display detailed usage information:
`xcopy /?`