Exclude with Regular Expressions 4.4

From SEPsesam
Jump to: navigation, search
Other languages:
Deutsch • ‎English
<<<Back
Appendix
User Manual
Next>>>
Exclude with File Patterns


Exclude with Regular Expressions

Examples for exclude list:

  • Backing up '/var' without '/var/tmp' but with directory '/var/tmp1':
 \./var/tmp$
  • Backing up '/var' without any directory '*/tmp*':
 /tmp
  • Backing up source '/usr' avoiding '*.o', '*.tmp', 'a.out' and 'old*.c' files and all 'old*' directories:
 \.o$, \.tmp$, /a\.out$, /old.*\.c$, /old.*/$

  • Backing up '/usr' without '/usr/var/spool' and '/usr/var/log':
 \./usr/var/spool$, \./usr/var/log$
  • Avoid all 'syslog####.log' files:
 /syslog[0-9]*.log$