From 8a2b5136a9931fb8027ecdb5a552cc4bcbe48033 Mon Sep 17 00:00:00 2001 From: Flori Gee Date: Wed, 20 Nov 2024 11:10:26 +0100 Subject: [PATCH 1/5] Add .part files for exclusion patterns at the very least used by firefox unfinished downloads --- src/vorta/assets/exclusion_presets/dev.json | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/vorta/assets/exclusion_presets/dev.json b/src/vorta/assets/exclusion_presets/dev.json index d2f40ca46..2cf284090 100644 --- a/src/vorta/assets/exclusion_presets/dev.json +++ b/src/vorta/assets/exclusion_presets/dev.json @@ -138,11 +138,12 @@ "fm:*/.tmp", "fm:*/temp", "fm:*.swp", - "fm:*.bak" + "fm:*.bak", + "fm:*.part" ], "tags": [ "type:system", "os:linux", "os:darwin"], - "author": "shivansh02" + "author": "shivansh02, Renner0E" }, { "name": "All Cache Files", From 03bab40d43d8aa0626b39070fd954007da1e95b1 Mon Sep 17 00:00:00 2001 From: Flori Gee Date: Wed, 20 Nov 2024 11:14:47 +0100 Subject: [PATCH 2/5] add more video and audio file exclude patterns I sorted the list and copied most of https://en.wikipedia.org/wiki/Video_file_format --- src/vorta/assets/exclusion_presets/dev.json | 36 ++++++++++++++++++--- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/src/vorta/assets/exclusion_presets/dev.json b/src/vorta/assets/exclusion_presets/dev.json index 2cf284090..88a6b6fd9 100644 --- a/src/vorta/assets/exclusion_presets/dev.json +++ b/src/vorta/assets/exclusion_presets/dev.json @@ -160,16 +160,42 @@ "name": "Media Files", "slug": "media-files", "patterns": [ - "fm:*.mp3", - "fm:*.mp4", - "fm:*.mkv", + "fm:*.3g2", + "fm:*.3gp", + "fm:*.aac", "fm:*.avi", + "fm:*.f4a", + "fm:*.f4b", + "fm:*.f4p", + "fm:*.f4v", "fm:*.flac", - "fm:*.wav" + "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" + "author": "shivansh02, Renner0E" }, { "name": "Recycle Bin/Trash", From 8c20ff34c806c74d15bb6bffb2c79fe419ff5364 Mon Sep 17 00:00:00 2001 From: Flori Gee Date: Sat, 28 Dec 2024 20:43:34 +0100 Subject: [PATCH 3/5] exclusion presets: move image formats to media.json --- src/vorta/assets/exclusion_presets/dev.json | 41 ------------------ src/vorta/assets/exclusion_presets/media.json | 43 +++++++++++++++++++ 2 files changed, 43 insertions(+), 41 deletions(-) create mode 100644 src/vorta/assets/exclusion_presets/media.json diff --git a/src/vorta/assets/exclusion_presets/dev.json b/src/vorta/assets/exclusion_presets/dev.json index 88a6b6fd9..8e09976df 100644 --- a/src/vorta/assets/exclusion_presets/dev.json +++ b/src/vorta/assets/exclusion_presets/dev.json @@ -156,47 +156,6 @@ "type:system","os:linux", "os:darwin"], "author": "shivansh02" }, - { - "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" - }, { "name": "Recycle Bin/Trash", "slug": "recycle-bin-trash", diff --git a/src/vorta/assets/exclusion_presets/media.json b/src/vorta/assets/exclusion_presets/media.json new file mode 100644 index 000000000..fc5028976 --- /dev/null +++ b/src/vorta/assets/exclusion_presets/media.json @@ -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" + } +] From 6a32c31503b232bb9676c0bbe79cf2920efa56f7 Mon Sep 17 00:00:00 2001 From: Flori Gee Date: Sat, 28 Dec 2024 20:50:53 +0100 Subject: [PATCH 4/5] exclusion presets: move trash/cache files to temp.json --- src/vorta/assets/exclusion_presets/dev.json | 37 ------------------- src/vorta/assets/exclusion_presets/temp.json | 39 ++++++++++++++++++++ 2 files changed, 39 insertions(+), 37 deletions(-) create mode 100644 src/vorta/assets/exclusion_presets/temp.json diff --git a/src/vorta/assets/exclusion_presets/dev.json b/src/vorta/assets/exclusion_presets/dev.json index 8e09976df..7d19a08f3 100644 --- a/src/vorta/assets/exclusion_presets/dev.json +++ b/src/vorta/assets/exclusion_presets/dev.json @@ -130,42 +130,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", - "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" } ] diff --git a/src/vorta/assets/exclusion_presets/temp.json b/src/vorta/assets/exclusion_presets/temp.json new file mode 100644 index 000000000..eed291e25 --- /dev/null +++ b/src/vorta/assets/exclusion_presets/temp.json @@ -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" + } +] From 29f4376ebd12825cd5284874dc4190dd1b64104f Mon Sep 17 00:00:00 2001 From: Flori Gee Date: Sat, 28 Dec 2024 20:58:22 +0100 Subject: [PATCH 5/5] exclusion presets: move spotify to apps.json --- src/vorta/assets/exclusion_presets/apps.json | 14 ++++++++++++++ src/vorta/assets/exclusion_presets/dev.json | 12 ------------ 2 files changed, 14 insertions(+), 12 deletions(-) create mode 100644 src/vorta/assets/exclusion_presets/apps.json diff --git a/src/vorta/assets/exclusion_presets/apps.json b/src/vorta/assets/exclusion_presets/apps.json new file mode 100644 index 000000000..2f83261fb --- /dev/null +++ b/src/vorta/assets/exclusion_presets/apps.json @@ -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" + } +] diff --git a/src/vorta/assets/exclusion_presets/dev.json b/src/vorta/assets/exclusion_presets/dev.json index 7d19a08f3..0ff8655d8 100644 --- a/src/vorta/assets/exclusion_presets/dev.json +++ b/src/vorta/assets/exclusion_presets/dev.json @@ -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",