Automatically creates .deja-dup-ignore or CACHEDIR.TAG files for directories that shouldn't be backed up by Deja Dup, but hasn't been (i.e. not in Deja Dup's exclude list and doesn't contain the given mark files).
The criteria for creating the files:
- it's a directory ignored by
.gitignore, and - the directory has specific name.
Specific names for different files:
.deja-dup-ignore |
|
|---|---|
node_modules |
Dependencies for JavaScript projects |
venv, .venv |
Python virtual environment |
.gradle |
Build output for Gradle projects |
target |
Build output for Rust projects |
build, out, dist |
Build output for other projects |
CACHEDIR.TAG |
|
Any name containing cache |
Cache directory |
Copyright (C) 2025 Xidorn Quan
This program is free software: you can redistribute it and/or modify
it under the terms of the GNU Affero General Public License as
published by the Free Software Foundation, either version 3 of the
License, or (at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU Affero General Public License for more details.
You should have received a copy of the GNU Affero General Public License
along with this program. If not, see <https://www.gnu.org/licenses/>.