A desktop technician is executing a file migration script to transfer a complex directory tree from a legacy Windows workstation to a new network location using the Robocopy utility. The migration requires transferring all subdirectories, including any empty folders, while fully preserving NTFS permissions, ownership details, and auditing flags on all transferred files. Which of the following Robocopy switches must be included in the command to meet these requirements? (Select TWO.)
- /eCevap
- /copyallCevap
- C/s
- D-p -a
Cevap
The correct options are '/e' and '/copyall'. The '/e' switch ensures subdirectories—including empty ones—are copied, while '/copyall' preserves all file attributes, NTFS security permissions (ACLs), owner information, and auditing settings.
The combination of the '/e' and '/copyall' switches ensures that both the directory hierarchy (including empty folders) and all associated security/audit metadata are preserved during file transfer.
Adım Adım Çözüm
Anahtar Kavram
Windows Robocopy File Preservation Switches
Tahmini Süre:1m 15s