Menu

Filter "suggestion" isn't valid.

Help
Quaraxkad
2015-05-25
2015-05-30
  • Quaraxkad

    Quaraxkad - 2015-05-25

    Minor "documentation" error here, probably specific to Windows.

    I got a message when running snapraid diff that told me a file had an unexpected 0-byte size (this is actually why I ran diff in the first place, to see if/how it detected that). Then it suggested I run "snapraid --filter Path/To/File.ext fix". But the filter as described doesn't work, it needs a leading / before the path. The first time I tried to use filters I could never get one to work based on the documentation because it never includes the leading /, which seems to be a requirement.

     
  • xad

    xad - 2015-05-26

    Minor "documentation" error here, probably specific to Windows.

    It's a silent configuration file error (generic, not windows specific)

    /xad

    /* a slash must be the first char, as we reject PATH/DIR/FILE */
    if (filter->pattern[0] != '/') {
        free(filter);
        return 0;
    }
    
     
  • Andrea Mazzoleni

    Hi,

    I just added a new message to clarify that relative sub paths are not supported.

    If you specify a path, it must start with a slash.

    Ciao,
    Andrea

     

Log in to post a comment.

MongoDB Logo MongoDB