Merge branch 'master' of ssh://git-annex.branchable.com
This commit is contained in:
commit
eecbad98e1
2 changed files with 52 additions and 0 deletions
|
@ -0,0 +1,35 @@
|
|||
[[!comment format=mdwn
|
||||
username="http://hendry.iki.fi/"
|
||||
nickname="Kai Hendry"
|
||||
subject="git annex unused doesn't help"
|
||||
date="2015-04-19T13:24:50Z"
|
||||
content="""
|
||||
This is a git-annex question. I want to find files that are not in my working tree but are on the backups on my two USB hard drives.
|
||||
|
||||
|
||||
I see in this commit the images that I deleted: <https://github.com/kaihendry/uploadme/commit/c53dbdd9bd7879d68635a2adc81a7bc59a84c5ea>
|
||||
|
||||
How can I simply just get a listing of where the copies are?
|
||||
|
||||
For example I deleted IMG_4110.JPG.
|
||||
|
||||
But when I run:
|
||||
|
||||
X1C3:~/media/uploadme$ git-annex whereis IMG_4110.JPG
|
||||
git-annex: IMG_4110.JPG not found
|
||||
|
||||
I am pretty confident I have a copy of this on my external USB drives.
|
||||
|
||||
Also tried another file:
|
||||
|
||||
X1C3:~/media/uploadme$ git-annex whereis IMG_4558.JPG
|
||||
git-annex: IMG_4558.JPG not found
|
||||
X1C3:~/media/uploadme$ git-annex whereis 2014-10-05/IMG_4558.JPG
|
||||
git-annex: 2014-10-05/IMG_4558.JPG not found
|
||||
|
||||
So I am still in the dark how to see how git-annex tracks deleted files across my remotes.
|
||||
|
||||
|
||||
|
||||
|
||||
"""]]
|
|
@ -0,0 +1,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.
|
Loading…
Add table
Reference in a new issue