felbinger / GBM

Go Backup Manager
0 stars 0 forks source link

Feature to ignore configured file extensions #2

Closed felbinger closed 3 years ago

felbinger commented 3 years ago

Implement the option to ignore files by there file extension.

The config.yaml could be extended like this:

jobs:
  files:
    - name: main
      compress: true
      paths:
        - "/srv/main"
      ignore:
        - "/srv/main/ignore_this"
      ignore_extension:
        - "mp4"
felbinger commented 3 years ago

Feature has been implemented.