snapraid/mergerFS pool file exclusion Rules

  • Hi


    In snapraid.. I want to exclude specific files in specific folders..


    setup:


    8 3Tb files created with EXT4
    1 21Tb MerferFS pool


    In snapraid I added all 8 disks but NOT the mergerFS pool.


    In rules I want to set up a rule to exclude jpg files from the folder /media/


    Now since I don't know where MergerFS might put the media folder in the future I can't point to a volume... apart from the MergerFS pool.


    I've tried adding


    No volume selected
    *.jpg


    it works and excluded ALL jpgs.. but I dont' want that
    I then tried adding the MergerFS pool and *.jpg
    Works as above.


    I then added
    No volume selected
    /media/*.jpg


    Doesn't work
    Then
    MergerFS pool
    /media/*.jpg


    Doesn't work either..


    So how do I deal with excluding the jpgs?

  • I'm not sure if this applies here, but in general when dealing with linux and wildcards doing "/media/**/*.jpg" will ignore any jpg within any subfolder of /media. Again not sure if it'll work for you, but it might.

Jetzt mitmachen!

Sie haben noch kein Benutzerkonto auf unserer Seite? Registrieren Sie sich kostenlos und nehmen Sie an unserer Community teil!