diff options
author | Joey Hess <joeyh@joeyh.name> | 2015-07-06 11:42:09 -0400 |
---|---|---|
committer | Joey Hess <joeyh@joeyh.name> | 2015-07-06 11:42:09 -0400 |
commit | cb3a8d883425b518b2954509acac69640829e081 (patch) | |
tree | 5b8820e67386be04d8c78d76082cd50da8baa94d /doc/backends | |
parent | 730357d21c8e6118fd0f3106b74da2c5dd7393df (diff) | |
parent | 05dcde99331846fd6a511a0c26eeb004ddb4b2cf (diff) |
Merge branch 'master' of ssh://git-annex.branchable.com
Diffstat (limited to 'doc/backends')
3 files changed, 37 insertions, 0 deletions
diff --git a/doc/backends/comment_14_57154dcd1041a33f220f9105b709be89._comment b/doc/backends/comment_14_57154dcd1041a33f220f9105b709be89._comment new file mode 100644 index 000000000..446960264 --- /dev/null +++ b/doc/backends/comment_14_57154dcd1041a33f220f9105b709be89._comment @@ -0,0 +1,8 @@ +[[!comment format=mdwn + username="xelez0@57a58225d4e5b260555ebc4a9d0a8df85d1e971a" + nickname="xelez0" + subject="Backend of specified file" + date="2015-07-05T13:19:43Z" + content=""" +How can I determine backend of specified file? Looking over man pages and can't find it. +"""]] diff --git a/doc/backends/comment_15_b3445fd1f379346c642a27211c6c798b._comment b/doc/backends/comment_15_b3445fd1f379346c642a27211c6c798b._comment new file mode 100644 index 000000000..3fc12afee --- /dev/null +++ b/doc/backends/comment_15_b3445fd1f379346c642a27211c6c798b._comment @@ -0,0 +1,14 @@ +[[!comment format=mdwn + username="CandyAngel" + subject="comment 15" + date="2015-07-05T14:54:18Z" + content=""" +It's not explicit, but 'git annex info $FILE' tells you the key, which has the backend as its first component: + + ## git annex info CG\ Cookie/Compositing\ in\ Blender/01_CompositingInBlender_SourceFiles.zip + file: CG Cookie/Compositing in Blender/01_CompositingInBlender_SourceFiles.zip + size: 744.51 megabytes + key: SHA256E-s744506832--08d2daced60b5eb6509044d5eefca82e7a6899350f49adc0083014229739515e.zip + +I don't think there are any situations where the first component of the key isn't the backend, but don't hold me to that, please :) +"""]] diff --git a/doc/backends/comment_16_c68dfaeee2ef18f420f7e11ff5f604b9._comment b/doc/backends/comment_16_c68dfaeee2ef18f420f7e11ff5f604b9._comment new file mode 100644 index 000000000..64c0102e2 --- /dev/null +++ b/doc/backends/comment_16_c68dfaeee2ef18f420f7e11ff5f604b9._comment @@ -0,0 +1,15 @@ +[[!comment format=mdwn + username="CandyAngel" + subject="comment 16" + date="2015-07-05T15:00:46Z" + content=""" +Or I could not be an idiot and tell you the command specifically looking up a key for a file: lookupkey + + ## git annex lookupkey CG\ Cookie/Compositing\ in\ Blender/01_CompositingInBlender_SourceFiles.zip + SHA256E-s744506832--08d2daced60b5eb6509044d5eefca82e7a6899350f49adc0083014229739515e.zip + +So to get the backend (if the first component is always the backend): + + ## git annex lookupkey CG\ Cookie/Compositing\ in\ Blender/01_CompositingInBlender_SourceFiles.zip | cut -d- -f1 + SHA256E +"""]] |