From 0d304116fb9609fef272fb290f0edaf0777cc99f Mon Sep 17 00:00:00 2001 From: Andrea Mazzoleni Date: Wed, 4 May 2011 19:22:39 +0200 Subject: [PATCH] Better filter examples in configuration files. --- snapraid.conf.example | 3 ++- snapraid.conf.example.windows | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/snapraid.conf.example b/snapraid.conf.example index 0f245bcf..2b937bc3 100644 --- a/snapraid.conf.example +++ b/snapraid.conf.example @@ -29,12 +29,13 @@ disk d2 /mnt/disk2/ disk d3 /mnt/disk3/ # Defines files and directories to exclude +# Remember that all the paths are relative at the mount points # Format: "exclude FILE" # Format: "exclude DIR/" # Format: "exclude /PATH/FILE" # Format: "exclude /PATH/DIR/" exclude *.bak -exclude tmp/ +exclude /tmp/ exclude /lost+found/ # Defines the block size in kibi bytes (1024 bytes). diff --git a/snapraid.conf.example.windows b/snapraid.conf.example.windows index 90a5c696..b09b1178 100644 --- a/snapraid.conf.example.windows +++ b/snapraid.conf.example.windows @@ -35,7 +35,8 @@ disk d3 I:\array\ # Format: "exclude \PATH\FILE" # Format: "exclude \PATH\DIR\" exclude *.bak -exclude AppData\ +exclude Thumbs.db +exclude \$RECYCLE.BIN\ exclude \System Volume Information\ # Defines the block size in kibi bytes (1024 bytes).