Skip to content

Commit

Permalink
Add exclude patterns for common media files. By @renner0e (#2145)
Browse files Browse the repository at this point in the history
  • Loading branch information
renner0e authored Dec 30, 2024
1 parent f2b4274 commit 9836458
Show file tree
Hide file tree
Showing 4 changed files with 96 additions and 63 deletions.
14 changes: 14 additions & 0 deletions src/vorta/assets/exclusion_presets/apps.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
[
{
"name": "Spotify cache and config files",
"slug": "spotify",
"patterns": [
"fm:*/.cache/spotify",
"fm:*/.config/spotify",
"fm:*/.var/app/com.spotify.Client/cache",
"fm:*/.var/app/com.spotify.Client/config/spotify"
],
"tags": ["type:media", "media:spotify", "os:linux"],
"author": "SAMAD101, Renner0E"
}
]
63 changes: 0 additions & 63 deletions src/vorta/assets/exclusion_presets/dev.json
Original file line number Diff line number Diff line change
Expand Up @@ -76,18 +76,6 @@
"tags": ["type:dev", "cloud:aws", "os:linux", "os:darwin"],
"author": "SAMAD101"
},
{
"name": "Spotify cache and config files",
"slug": "spotify",
"patterns": [
"fm:*/.cache/spotify",
"fm:*/.config/spotify",
"fm:*/.var/app/com.spotify.Client/cache",
"fm:*/.var/app/com.spotify.Client/config/spotify"
],
"tags": ["type:media", "media:spotify", "os:linux"],
"author": "SAMAD101, Renner0E"
},
{
"name": "Flatpak Builder cache",
"slug": "flatpak-builder",
Expand Down Expand Up @@ -130,56 +118,5 @@
"tags": [
"type:system", "os:linux", "os:darwin"],
"author": "shivansh02"
},
{
"name": "Temporary Files",
"slug": "temp-files",
"patterns": [
"fm:*/.tmp",
"fm:*/temp",
"fm:*.swp",
"fm:*.bak"
],
"tags": [
"type:system", "os:linux", "os:darwin"],
"author": "shivansh02"
},
{
"name": "All Cache Files",
"slug": "cache-files",
"patterns": [
"fm:*/.cache",
"fm:*/Caches"
],
"tags": [
"type:system","os:linux", "os:darwin"],
"author": "shivansh02"
},
{
"name": "Media Files",
"slug": "media-files",
"patterns": [
"fm:*.mp3",
"fm:*.mp4",
"fm:*.mkv",
"fm:*.avi",
"fm:*.flac",
"fm:*.wav"
],
"tags": [
"type:media", "os:linux", "os:darwin"],
"author": "shivansh02"
},
{
"name": "Recycle Bin/Trash",
"slug": "recycle-bin-trash",
"patterns": [
"fm:*/.local/share/Trash/*",
"fm:*/.Trash/*",
"fm:*/.Trash-*/*"
],
"tags": [
"type:system", "os:linux", "os:darwin"],
"author": "shivansh02"
}
]
43 changes: 43 additions & 0 deletions src/vorta/assets/exclusion_presets/media.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
[
{
"name": "Media Files",
"slug": "media-files",
"patterns": [
"fm:*.3g2",
"fm:*.3gp",
"fm:*.aac",
"fm:*.avi",
"fm:*.f4a",
"fm:*.f4b",
"fm:*.f4p",
"fm:*.f4v",
"fm:*.flac",
"fm:*.flv",
"fm:*.m2ts",
"fm:*.m4a",
"fm:*.m4p",
"fm:*.m4v",
"fm:*.mkv",
"fm:*.mov",
"fm:*.movie",
"fm:*.mp2",
"fm:*.mp3",
"fm:*.mp4",
"fm:*.mpeg",
"fm:*.mpg",
"fm:*.mts",
"fm:*.ogg",
"fm:*.opus",
"fm:*.qt",
"fm:*.svi",
"fm:*.vob",
"fm:*.wav",
"fm:*.webm",
"fm:*.wmv",
"fm:*.yuv"
],
"tags": [
"type:media", "os:linux", "os:darwin"],
"author": "shivansh02, Renner0E"
}
]
39 changes: 39 additions & 0 deletions src/vorta/assets/exclusion_presets/temp.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,39 @@
[
{
"name": "Temporary Files",
"slug": "temp-files",
"patterns": [
"fm:*/.tmp",
"fm:*/temp",
"fm:*.swp",
"fm:*.bak",
"fm:*.part"
],
"tags": [
"type:system", "os:linux", "os:darwin"],
"author": "shivansh02, Renner0E"
},
{
"name": "All Cache Files",
"slug": "cache-files",
"patterns": [
"fm:*/.cache",
"fm:*/Caches"
],
"tags": [
"type:system","os:linux", "os:darwin"],
"author": "shivansh02"
},
{
"name": "Recycle Bin/Trash",
"slug": "recycle-bin-trash",
"patterns": [
"fm:*/.local/share/Trash/*",
"fm:*/.Trash/*",
"fm:*/.Trash-*/*"
],
"tags": [
"type:system", "os:linux", "os:darwin"],
"author": "shivansh02"
}
]

0 comments on commit 9836458

Please sign in to comment.