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)'
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/