Menu

How to include one hidden folder?

Help
xilex
2017-10-15
2017-10-15
  • xilex

    xilex - 2017-10-15

    Hi all, I have a folder in my Windows shares that I set as hidden via attrib -s -h FOLDERNAME. In SnapRAID, I've kept #nohidden so that it will include hidden stuff, but during a SnapRAID sync, I noticed it marked my folder as a 'system-directory' and so ignores it. Is there a way to force-include a specific folder? Thanks.

     
  • Leifi Plomeros

    Leifi Plomeros - 2017-10-15

    I don't think you can...

    Also, attrib -S -H would be removing those attributes, not adding them?

    C:\>attrib /?
    Displays or changes file attributes.
    
    ATTRIB [+R | -R] [+A | -A] [+S | -S] [+H | -H] [+O | -O] [+I | -I] [+P | -P] [+U | -U]
           [drive:][path][filename] [/S [/D]] [/L]
    
    
      +   Sets an attribute.
      -   Clears an attribute. <<===
      R   Read-only file attribute.
      A   Archive file attribute.
      S   System file attribute. <<===
      H   Hidden file attribute.
    

    Not making the folder a system folder seems like a simple workaround.

     
  • xilex

    xilex - 2017-10-18

    You are right, I meant +s +h.

    I guess I will have to remove the system property. Thanks!

     

Log in to post a comment.

Auth0 Logo