diff options
author | Jakob Odersky <jakob@odersky.com> | 2017-10-23 14:46:07 -0700 |
---|---|---|
committer | Jakob Odersky <jakob@odersky.com> | 2017-10-23 14:46:07 -0700 |
commit | 28c4d3c96c773c3ceb328b42de4b0168a04ba851 (patch) | |
tree | b7bff7749e834b3b417e202534f994519bcdcbd1 | |
parent | 1767b9db87a1bd1e416ae033bbee0dbd55c68556 (diff) | |
download | dotfiles-28c4d3c96c773c3ceb328b42de4b0168a04ba851.tar.gz dotfiles-28c4d3c96c773c3ceb328b42de4b0168a04ba851.tar.bz2 dotfiles-28c4d3c96c773c3ceb328b42de4b0168a04ba851.zip |
Update backup- and git ignore config
-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/ |