skipping transitory folders for backup
This commit is contained in:
+38
-1
@@ -42,9 +42,46 @@ excludes=(
|
||||
"$HOME/.local/share/siblings"
|
||||
"$HOME/.local/share/coredesktop"
|
||||
"$HOME/.var/app/*/cache"
|
||||
"$HOME/.nv"
|
||||
# Package caches and tool installs
|
||||
"$HOME/.npm"
|
||||
"$HOME/.bun/install/cache"
|
||||
"$HOME/.cargo/registry"
|
||||
"$HOME/go/pkg/mod"
|
||||
"$HOME/.cargo/git"
|
||||
"$HOME/go/pkg"
|
||||
"$HOME/.local/share/mise/installs"
|
||||
"$HOME/.local/share/mise/downloads"
|
||||
"$HOME/.local/share/uv"
|
||||
"$HOME/.local/share/pipx"
|
||||
"$HOME/.local/share/claude"
|
||||
"$HOME/.local/share/nvim/lazy"
|
||||
"$HOME/.local/share/nvim/mason"
|
||||
# The agents' own installs and downloads; their settings, memories and
|
||||
# sessions are kept
|
||||
"$HOME/.hermes/hermes-agent"
|
||||
"$HOME/.hermes/tools"
|
||||
"$HOME/.hermes/installs"
|
||||
"$HOME/.hermes/bin"
|
||||
"$HOME/.hermes/cache"
|
||||
"$HOME/.hermes/audio_cache"
|
||||
"$HOME/.hermes/image_cache"
|
||||
# LM Studio's models and engines can be downloaded again
|
||||
"$HOME/.lmstudio/models"
|
||||
"$HOME/.lmstudio/extensions"
|
||||
"$HOME/.lmstudio/bin"
|
||||
# Electron and Chromium apps (Element, browsers, editors) keep caches here
|
||||
"$HOME/.config/*/Cache"
|
||||
"$HOME/.config/**/Code Cache"
|
||||
"$HOME/.config/**/GPUCache"
|
||||
"$HOME/.config/**/GrShaderCache"
|
||||
"$HOME/.config/**/GPUPersistentCache"
|
||||
"$HOME/.config/**/DawnGraphiteCache"
|
||||
"$HOME/.config/**/DawnWebGPUCache"
|
||||
"$HOME/.config/**/Service Worker/CacheStorage"
|
||||
# Element's search index for encrypted messages, which it rebuilds
|
||||
"$HOME/.config/Element/EventStore"
|
||||
# WinBoat's Windows VM: its disk is large, and changes whenever Windows runs
|
||||
"$HOME/winboat"
|
||||
)
|
||||
exclude_args=(--exclude-caches)
|
||||
for path in "${excludes[@]}"; do
|
||||
|
||||
Reference in New Issue
Block a user