mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-03-11 01:58:28 +00:00
Move pages under tldr, lint run.sh, update docs
This commit is contained in:
41
tldr/windows/xcopy
Normal file
41
tldr/windows/xcopy
Normal file
@@ -0,0 +1,41 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, windows]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# xcopy
|
||||
|
||||
> Copy files and directory trees.
|
||||
> More information: <https://learn.microsoft.com/windows-server/administration/windows-commands/xcopy>.
|
||||
|
||||
- Copy the file(s) to the specified destination:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}}`
|
||||
|
||||
- List files that will be copied before copying:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /p`
|
||||
|
||||
- Copy the directory structure only, excluding files:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /t`
|
||||
|
||||
- Include empty directories when copying:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /e`
|
||||
|
||||
- Keep the source ACL in the destination:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /o`
|
||||
|
||||
- Allow resuming when network connection is lost:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /z`
|
||||
|
||||
- Disable the prompt when the file exists in the destination:
|
||||
|
||||
`xcopy {{path oile_or_directory}} {{path o\destination_directory}} /y`
|
||||
|
||||
- Display help:
|
||||
|
||||
`xcopy /?`
|
||||
Reference in New Issue
Block a user