aboutsummaryrefslogtreecommitdiff
path: root/doc/forum/__34__git_annex_sync_--content__34___with_special_remote_of_type___34__directory__34__.mdwn
blob: bab3167e5eab1a36bf581ebe7177a376187096a8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Hello, I started using the "wanted" feature of git-annex.

I have (besides others) one local repository ("neon"), and two special remotes "ldk" (rsync) and "storage" (directory).

"wanted" and "group" are configured as (replaced UUIDs with names):

    group "storage" = backup
    wanted "storage" = standard
    wanted "neon" = (exclude=pictures/* and exclude=video/*) or present

Now, let's assume there is a file named "video/foo.mp4". It is only present in "ldk". I want it to be present in "storage", too.

When I run "git annex sync --content" on "neon" the file "video/foo.mp4" is neither fetched to be placed in "neon" nor in "storage".

Which command do I have to run to transfer the file "video/foo.mp4" from "ldk" to "storage" when run from "neon".

Previously, I started with "git annex get \`git annex find --not --in storage\`" and then continued with "git annex copy \`git annex find --not --in storage\` --to storage". I was hoping that the wanted feature would simplify this.