diff options
-rw-r--r-- | home/.gitignore_global | 3 | ||||
-rw-r--r-- | home/.resticignore | 50 | ||||
-rw-r--r-- | home/.rsyncignore | 2 |
3 files changed, 53 insertions, 2 deletions
diff --git a/home/.gitignore_global b/home/.gitignore_global index 1b6f7c2..6293962 100644 --- a/home/.gitignore_global +++ b/home/.gitignore_global @@ -1,2 +1,3 @@ .ensime_cache/ -.ensime
\ No newline at end of file +.ensime +.idea/ diff --git a/home/.resticignore b/home/.resticignore new file mode 100644 index 0000000..fc89de6 --- /dev/null +++ b/home/.resticignore @@ -0,0 +1,50 @@ +# Restic Excludes File +# +# It is assumed that the envionment variable BACKUP_ROOT refers to the +# home directory. + +# caches and other hidden directories in this directory +$BACKUP_ROOT/.cache/ +$BACKUP_ROOT/.coursier/ +$BACKUP_ROOT/.local/ +$BACKUP_ROOT/.m2/ +$BACKUP_ROOT/.Idea* +$BACKUP_ROOT/.idea* +$BACKUP_ROOT/.ivy2/ +$BACKUP_ROOT/.sbt/ + +# other top-level directories +$BACKUP_ROOT/downloads/ +$BACKUP_ROOT/opt/ +$BACKUP_ROOT/tmp/ +$BACKUP_ROOT/vm/ + +# ignore temporary files +**~ + +# software development artifacts +$BACKUP_ROOT/src/**/.ensime_cache/ +$BACKUP_ROOT/src/**/.ensime +$BACKUP_ROOT/src/**/target/ + +# testing +# $BACKUP_ROOT/./games/ +# $BACKUP_ROOT/./adv/ +# $BACKUP_ROOT/./tmp/ +# $BACKUP_ROOT/./driver/ +# $BACKUP_ROOT/./public/ +# $BACKUP_ROOT/./documents/ +# $BACKUP_ROOT/./bin/ +# $BACKUP_ROOT/./images/ +# $BACKUP_ROOT/./music/ +# $BACKUP_ROOT/./vm/ +# $BACKUP_ROOT/./templates/ +# $BACKUP_ROOT/./infra/ +# $BACKUP_ROOT/./calibre/ +# $BACKUP_ROOT/./desktop/ +# $BACKUP_ROOT/./contacts/ +# $BACKUP_ROOT/./pictures/ +# $BACKUP_ROOT/./archives/ +# $BACKUP_ROOT/./src/ +# $BACKUP_ROOT/./downloads/ +# $BACKUP_ROOT/./videos/ diff --git a/home/.rsyncignore b/home/.rsyncignore index 87a32e0..4d5ce06 100644 --- a/home/.rsyncignore +++ b/home/.rsyncignore @@ -1,5 +1,5 @@ # keep these hidden files and directories -+ /.bashrc.d ++ /.bashrc.d/ + /.dotfiles/ + /.emacs.d/ + /.gitconfig/ |