1
0
Fork 0
mirror of https://github.com/tldr-pages/tldr.git synced 2025-04-29 23:24:55 +02:00
tldr/pages.de/windows/xcopy.md

37 lines
1 KiB
Markdown
Raw Normal View History

2022-10-14 15:16:12 +02:00
# xcopy
> Kopieren von Dateien und Verzeichnisbäumen.
> Weitere Informationen: <https://learn.microsoft.com/windows-server/administration/windows-commands/xcopy>.
2022-10-17 07:52:55 +02:00
- Kopiere Datei(en) an den angegebenen Zielort:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}}`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Liste die zu kopierenden Dateien vor dem Kopieren auf:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /p`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Kopiere nur die Verzeichnisstruktur ohne Dateien:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /t`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Kopiere leere Verzeichnisse mit:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /e`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Behalte die Quell-Zugriffsrichtlinien (ACL) im Ziel Verzeichnis bei:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /o`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Setze den Vorgang nach Unterbrechung der Netzwerkverbindung fort:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /z`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Überschreibe bereits vorhandene Zieldateien automatisch:
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
`xcopy {{pfad/zu/datei_oder_verzeichnis}} {{pfad/zu/ziel}} /y`
2022-10-14 15:16:12 +02:00
2022-10-17 07:52:55 +02:00
- Zeige die detaillierte Hilfe an:
2022-10-14 15:16:12 +02:00
`xcopy /?`