mirror of
https://github.com/tldr-pages/tldr.git
synced 2025-04-22 08:02:08 +02:00
xcopy: add page (#2084)
This commit is contained in:
parent
e10778e24c
commit
ccb73597b1
1 changed files with 35 additions and 0 deletions
35
pages/windows/xcopy.md
Normal file
35
pages/windows/xcopy.md
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
# xcopy
|
||||||
|
|
||||||
|
> Copy files and directory trees.
|
||||||
|
|
||||||
|
- Copy the file(s) to the specified destination:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}}`
|
||||||
|
|
||||||
|
- List files that will be copied before copying:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /p`
|
||||||
|
|
||||||
|
- Copy the directory structure only, excluding files:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /t`
|
||||||
|
|
||||||
|
- Include empty directories when copying:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /e`
|
||||||
|
|
||||||
|
- Keep the source ACL in the destination:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /o`
|
||||||
|
|
||||||
|
- Allow resuming when network connection is lost:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /z`
|
||||||
|
|
||||||
|
- Disable the prompt when the file exists in the destination:
|
||||||
|
|
||||||
|
`xcopy {{path/to/file_or_folder}} {{path/to/destination}} /y`
|
||||||
|
|
||||||
|
- Display detailed usage information:
|
||||||
|
|
||||||
|
`xcopy /?`
|
Loading…
Add table
Reference in a new issue