• This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn more.

Robocopy and attributes problem


balubeto

Member
Member
Posts
173
#1
Hi

Using Robocopy, I should copy the files of a directories structure with all their ACL and their attributes except the attributes of reading in another structure. How should I do this?

Thanks

Bye
 

My Computer

System One

  • OS
    Windows 8
Posts
1,870
#2
/copy defines the attributes you want to include (defaults to data, attributes and timestamps). /copyall includes everything including ACL.
If you want to then make them read only add /a+R to set the Read-Only attribute.
something like

robocopy C:\users\user1\Documents E:\Backups\Documents /mir /e /copyall /a+R


Is that want you want to achieve?

Robocopy
 

My Computer

System One

  • OS
    Windows 10 Pro Prieview x64
    Computer type
    Laptop
    System Manufacturer/Model Number
    MacBook Pro Core2Duo
    CPU
    T7600
    Memory
    3
    Graphics Card(s)
    ATI Radeon X1600
    Monitor(s) Displays
    Internal
    Screen Resolution
    1440 x 800
    Hard Drives
    40GB
    Keyboard
    Apple
    Mouse
    Apple
    Internet Speed
    Varies
    Browser
    Various
    Antivirus
    Defender