git-annex

By CK. Date: . Last updated: .

Transfer server

git annex config --set annex.largefiles 'include=data/* or include=videos/* and not (include=*.org or include=*.html or include=*.py or include=*.py3 or include=*.json or include=*.txt or include=*.php or include=*.css or include=*.js or include=*.conf or include=*.exclude or include=*.xml or include=*.cfg or include=*.menu or include=data/bookmarks/emacs/* or include=*.reg or include=*.md or include=*.go or include=*.vtt or include=*.sh or include=*.h or include=*.vil)'
git remote add somename ssh://user@host.com/path/to/repo
git annex numcopies 2
# on remote
# https://git-annex.branchable.com/preferred_content/standard_groups/
git annex wanted . standard
git annex group . client

Size of annexed file.

git annex info some/dir/

Had to remove and readd the remote for some reason.

https://git-annex.branchable.com/forum/Don__39__t_understand_sync_with_ssh_remote/

Links

https://git-annex.branchable.com/preferred_content/

https://git-annex.branchable.com/git-annex-preferred-content/

https://git-annex.branchable.com/preferred_content/standard_groups/

converting git to annexed and converting annexed to git:

https://git-annex.branchable.com/tips/largefiles/