[Box Backup] Regex questions

Achim achim+box at qustodium.net
Tue Mar 30 11:36:16 BST 2010


Hello Kenny:

On Mon, 29 Mar 2010 13:32:54 +0100, Kenny Millington
<kenny.millington at 3ait.co.uk> wrote:
>> ExcludeFilesRegex = .+\._*|.*\\\._*
>> 
>> Skipping excluded file: F:\Set_9-Excludes\._.Trashes
>> Skipping excluded file: F:\Set_9-Excludes\.typeAttributes.dict
>> 
>> I have not been able to find a regex that distinguihes between those
two
>> files, it appears that the underscore in the regex is ignored... or the
>> more likely explanation: I have no clue how this is supposed to work
(-:
> 
> Could be the monday-blues but surely "_*" will match zero or more
> underscores and thus the case of no underscore at all...

Thanks for spotting this (-:

My final excludes look as follows, perhaps somebody wants to use them or
get inspired:

ExcludeDirsRegex = .+\\Temporary Internet
Files$|.*\\Cache$|.*\\Temp$|.+\\RECYCLER$|.+\\RECYCLED$|.+\\\.Trashes$|.+\\System
Volume
Information$|.+\\\.TemporaryItems$|.+\\\.Spotlight-V100$|.+\\\.fseventsd$|.+\\Microsoft\Search\Data$|.+\\Local
Settings\\.*\\Cache$|.+\\\.svn$|.+\\\.cvs$|.+\\Google Desktop
Search$|.+\\Windows\\Prefetch$|.+\\WINDOWS\\system32\\spool\\PRINTERS$'

ExcludeFilesRegex =
.+\.([aA][vV][iI]|[wW][mM][aAvV]|[dD][iI][vV]|[xX][sS][oO]|[mM][pP][eE]?[2345gG]|[tT][mM][pP]|[bB][aAcC][kK]|[dD][bB][kK]|[bB][kK][~!1-9]|[mMtT][bB][kK]|[oO][lL][dD]|[sS][aA][vV]|[sS][wW][pP]|[xX][lL][kK]|[cC][sS][mM]|[dD][sS][kK]|[oO][bB][jJ]|[pP][aA][rR]|[dD][bB][xX]|[dD][lL][lL])$|.+\\thumbs\.db$|.+\\Perflib.*|.+\\UsrClass\.dat\.LOG$|.+\\hyberfile\.sys$|.+\\pagefile\.sys$|.+\\\.DS_Store$|.+\\\.Spotlight-V100$|.+\\UsrClass\.dat\.LOG$|.+\\UsrClass\.dat$|.+\\~.*|.*\\\._.*

Best regards, Achim



More information about the Boxbackup mailing list