more git-annex plumbing
Klaus Ethgen
Klaus+mlvcsh at Ethgen.de
Mon Apr 16 18:18:52 CEST 2012
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512
Hello,
Am Mo den 16. Apr 2012 um 10:59 schrieb Thomas Koch:
> I have a few things that I'd like to do with git-annex but that are hard
> because git-annex does not expose internal plumbing commands. I intend to
> start a list of such commands here with possible use cases:
>
> - calculate checksum of a file
> - doesAnnexHasChecksum?
> - doesAnnexHasFile?
>
> Useful to deduplicate files from many old CD backups
>
> - checksum to path
> - move file into annex
Especially the second last I was searching for many times. I did this
with some pipe doing readlink and grep.
Regards
Klaus
- --
Klaus Ethgen http://www.ethgen.ch/
pub 4096R/4E20AF1C 2011-05-16 Klaus Ethgen <Klaus at Ethgen.de>
Fingerprint: 85D4 CA42 952C 949B 1753 62B3 79D0 B06F 4E20 AF1C
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.12 (GNU/Linux)
iQGcBAEBCgAGBQJPjEZsAAoJEKZ8CrGAGfasz5UMAKobMuG8eVaqOdA/TDjsUg5E
pTDnAcv91dgUDjLn/lPl6Si2uDpDqhyBX56qHShRaeQ5z17Wps1t6ij5srs2c1BY
mX0kvKbrQyPB4czOrCX9fISjTivjCoxbBbgMe9IdH0Nbz4Ul9vB60IuhUnZ47Dlc
83X4sc+s9ODoPvCEMI+OKT6rr/ImRgeE9a/pglUasjNCukipolcB7V3RIaitnC3q
xS4Cz62/oWoy4cIKbpSvNtiP6bRaZP6WtVxJxr526L+/WEuzXjbb8nSWnk4j81R/
A7PGANXZryrUkVbj3zCsZO37evfMtFQpf/FT8I1rkvpOpFzHqW+IFOt8QOUtcW9/
CWykqsO92Z8Q1YWtTbv7oRC59kAKhpMjz3SbDmI5GZyRAEHW14f99FRDQsLg5WkN
oFsCmJbGkRXB0zTM1vuPGsooYzIHW1NUppijm233aAzlLMR17lHKhp9jzqgTdhbI
6hxvcWVjpBZwA/0X3ZYhy8TGvWNfwYu2NfZS+vBlSg==
=2Yca
-----END PGP SIGNATURE-----
More information about the vcs-home
mailing list