# rsync-homedir-excludes # # A list of files to exclude when backing up *nix home directories using rsync or borg. # # Author: Ruben Barkow # Version: 2015-08-30 # # Extended and modified by FliegendeWurst # Update: 2020-05-06 ############################################### # directories, probably not worth a backup # # (comment the files you do need) # ############################################### .gvm .grails .grails_history .kde/share/apps/nepomuk .local/share/notbit .local/libvirt .vagrant .vagrant.d .twister twister ################################################ # These directories may definitely be excluded # ################################################ # Contains mounted file systems: .gvfs .local/share/gvfs-metadata # contains the actual encrypted home directory .Private # Session-specific: .dbus .cache .Trash .Trash-1* .local/share/Trash Trash # Cached info about audio CDs: .cddb # Cached packages lists: .aptitude # Node Package Manager cache .npm #Flash-specific: # Cache for flash, maybe others? .adobe #Files: # Contains errors from the current graphical session .xsession-errors .wayland-errors # Recently used files .local/share/RecentDocuments .recently-used .recently-used.xbel .thumbnails .thumb Thumbs.db .DS_Store .localised .CFUserTextEncoding # Common Unix Printing System .cups # run-time configuration information for Subversion .subversion # Python virtual environments .virtualenvs # Session-specific .Xauthority .ICEauthority .gksu.lock .pulse .pulse-cookie .esd_auth #KDE specific: # Recent documents on KDE .kde/share/apps/RecentDocuments .kde4/share/apps/RecentDocuments # Contains a history of the Klipper clipboard (KDE) .kde/share/apps/klipper .kde4/share/apps/klipper # You will loose saved scrolling positions of PDFs .kde/share/apps/okular/docdata .kde/share/apps/gwenview/recentfolders .kde4/share/apps/okular/docdata .kde4/share/apps/gwenview/recentfolders # Cached other users' profile pics .kde/share/apps/kmess/displaypics .kde4/share/apps/kmess/displaypics # Cached emoticons of others .kde/share/apps/kmess/customemoticons .kde4/share/apps/kmess/customemoticons #Firefox-specific (see also Profile folder): .mozilla/firefox/*/Cache # in case Fx crashes dumps will be stored in this .mozilla/firefox/*/minidumps # session-specific .mozilla/firefox/*/.parentlock # phishing database, recreated .mozilla/firefox/*/urlclassifier3.sqlite # blacklisted extensions .mozilla/firefox/*/blocklist.xml # extension database, recreated on startup .mozilla/firefox/*/extensions.sqlite .mozilla/firefox/*/extensions.sqlite-journal .mozilla/firefox/*/extensions.rdf .mozilla/firefox/*/extensions.ini .mozilla/firefox/*/extensions.cache # cached UI data, recreated .mozilla/firefox/*/XUL.mfasl .mozilla/firefox/*/XPC.mfasl .mozilla/firefox/*/xpti.dat .mozilla/firefox/*/compreg.dat # cached plugin data, recreated .mozilla/firefox/*/pluginreg.dat .mozilla/firefox/*/storage/default .mozilla/firefox/*/storage/temporary .mozilla/firefox/*/datareporting .mozilla/firefox/Crash Reports #SeaMonkey-specific (see also Profile folder): .mozilla/seamonkey/*/Cache # in case Fx crashes dumps will be stored in this .mozilla/seamonkey/*/minidumps # session-specific .mozilla/seamonkey/*/.parentlock # blacklisted extensions .mozilla/seamonkey/*/blocklist.xml # extension database, recreated on startup .mozilla/seamonkey/*/extensions.sqlite .mozilla/seamonkey/*/extensions.rdf .mozilla/seamonkey/*/extensions.ini # cached UI data, recreated .mozilla/seamonkey/*/xpti.dat .mozilla/seamonkey/*/compreg.dat # cached plugin data, recreated .mozilla/seamonkey/*/pluginreg.dat # Thunderbird .thunderbird/*/Cache .thunderbird/*/crashes .thunderbird/Crash Reports #Opera-specific (related question on Superuser.com: Is documentation available on files and directories in the Opera profile folder?): .opera/temporary_downloads .opera/cache .opera/thumbnails .opera/opcache .opera/icons .opera/application_cache .opera/widgets/*/cache .opera/lock # Keychain dir (manage SSH and GPG keys, front-end to ssh-agent and ssh-add) .keychain #Komodo Edit: .komodoedit/*/codeintel/db .komodoedit/*/host-*/*/codeintel .komodoedit/*/XRE/Cache .komodoedit/*/XRE/.activatestate/komodo edit/Crash Reports .komodoedit/*/XRE/.activatestate/komodo edit/*/Cache .komodoedit/*/XRE/.activatestate/komodo edit/*/minidump .komodoedit/*/XRE/.parentlock .komodoedit/*/XRE/extensions.rdf .komodoedit/*/XRE/extensions.ini .komodoedit/*/XRE/extensions.cache .komodoedit/*/XRE/XPC.mfasl .komodoedit/*/XRE/XUL.mfasl .komodoedit/*/XRE/xpti.dat .komodoedit/*/XRE/pluginreg.dat .komodoedit/*/XRE/compreg.dat .komodoedit/*/XRE/*.sqlite-journal .komodoedit/*/pystdout.log .komodoedit/*/pystderr.log .komodoedit/*/history.sqlite.bak .komodoedit/*/running.lock .komodoedit/*/mutex.lock .komodoedit/*/*.xmlc .komodoedit/*/startup-env.tmp .komodoedit/*/commandments.fifo .komodoedit/*/history.sqlite #GnuPG: .gnupg/rnd .gnupg/random_seed .gnupg/.#* .gnupg/*.lock .gnupg/gpg-agent-info-* #Google Chrome: .config/google-chrome/Default/Local Storage .config/google-chrome/Default/Session Storage .config/google-chrome/Default/Application Cache .config/google-chrome/Default/History Index * #Chromium: .config/chromium/Default/Local Storage .config/chromium/Default/Session Storage .config/chromium/Default/Application Cache .config/chromium/Default/History Index * #Other apps: # Pidgin .purple/icons # Cached applets .guayadeque/cache.db .java/deployment/cache .icedteaplugin .icedtea .gnome2/epiphany/favicon_cache # stuff that shouldnt be backed up *.nobackup # other temporary files .cache */.cache .ccache */.thumbnails */Unity/*/Analytics */cache */cache2 */tmp */GLProgramBinaryCache */OfflineCache */Cache */GPUCache */Code Cache */CachedExtensions */VideoDecodeStats */CryptnetUrlCache */recompileMc */build/intermediates */thumbnails */Pending Pings */QtWebEngine */.mixin.out */saved-telemetry-pings */startupCache */webcache */.gradle */skin-cache # session data .config/session */Session Storage */session.lock # fuzzing data */fuzzer_script* # rust .multirust .cargo .rustup */target/debug */target/doc */target/release */target/rls */target/package */target/.rustc_info.json # list architectures compiled to here */target/asmjs-unknown-* */target/wasm32-unknown-unknown */target/x86*-*-*-* # npm / javascript .emscripten* */node_modules # python *__pycache__* *.pyc # ruby .gem # c *.o *.so # java .gradle .java/fonts .java/webview .m2 *.class */target/classes */build/classes */build/natives */build/*compileJava* */build/*Srg* */build/*Jar* */build/*cache* */build/*download* # julia .julia # android .android Android/Sdk AndroidStudioProjects/*/.gradle AndroidStudioProjects/*/app/build AndroidStudioProjects/*/build # arduino Arduino/libraries .arduino*/packages # wine .wine*/drive_c/windows .wine*/drive_c/Program Files* .wine*/drive_c/users/Public/Application Data/PerkinElmerInformatics .wine*/drive_c/ProgramData/PerkinElmerInformatics .wine*/drive_c/Python32 .wine*/drive_c/users/*/Temp .wine*/drive_c/users/*/Local Settings/Temporary Internet Files .wine*/dosdevices # maybe keep partially? .local/share/wineprefixes # josm .josm/autosave .josm/cache .josm/*.log .josm/plugins .josm/remotecontrol .josm/validator # useless configs */.idea */.metadata/.plugins .AndroidStudio* .aspnet .charles .droidcam .eclipse .fiddler .gimp* .hugindata .IdeaIC* .IntelliJIdea* .jdks .vscode/extensions .config/chromium #.config/Code .config/GIMP .config/GnomicStudios .config/JetBrains/IntelliJIdea* .config/.mono/certs .config/skypeforlinux .local/share/dolphin # useless caches and temp. storage .bitcoin/blocks .bitcoin/chainstate .GridcoinResearch .ipfs/blocks .Mathematica .minecraft/assets .minecraft/bin .minecraft/launcher_log.txt .minecraft/libraries .minecraft/logs .minecraft/*natives* .mitmproxy .mono .nv .ooniprobe .oracle_jre_usage .paradoxlauncher .rnd .steam .steampid .torrench .ts3client/cache .ts3client/crashdumps .ts3client/logs .w3m .Wolfram/Logs .zcomp* .zplugin .config/cef_user_data .config/discord* .config/Electron .config/etcher-electron .config/fzf .config/ibus .config/libreoffice .config/obs-studio/logs .config/obs-studio/profiler_data .config/Riot/*Cache .config/ShipLord .config/unity3d .config/VirtualBox .config/Wire .local/bin .local/doc .local/lib .local/man .local/share/baloo .local/share/binding of isaac afterbirth+ mods .local/share/cargo-web .local/share/doc .local/share/flatpak .local/share/gist .local/share/*gwenview .local/share/heroku .local/share/icons .local/share/JetBrains/IntelliJIdea* .local/share/keybase/*cache .local/share/klipper .local/share/knewstuff3 .local/share/kxmlgui5 .local/share/man .local/share/marble/cache .local/share/marble/maps .local/share/mime .local/share/npm .local/share/plasma/plasmoids .local/share/sddm .local/share/steamtricks .local/share/supertuxkart .local/share/TeamSpeak 3 .local/share/teamviewer* .local/share/Telegram* .local/share/vulkan .local/share/webkitgtk .local/share/xorg # logs */logs/*.log */logs/*.log.gz # game data (maybe keep?, depends) .factorio/scenarios #.minecraft/server-resource-packs .technic/assets .technic/cache #.local/share/Steam .local/share/Steam/steamapps/compatdata .local/share/Steam/steamapps/common/Proton *.* */dynmap */journeymap */mapwriter_mp_worlds .tixati .config/torrench .local/share/data/qBittorrent .local/share/torbrowser Vaults