git-annex/doc/bugs/copy_unused_and_unused_not_agreeing.mdwn

132 lines
11 KiB
Text
Raw Normal View History

2014-02-20 06:06:30 +00:00
[[!format sh """
greg@x200s:~/Documents$ git-annex unused
unused . (checking for unused data...) (checking annex/direct/master...) (checking synced/annex/direct/master...) (checking synology/master...)
Some annexed data is no longer used by any files:
NUMBER KEY
1 SHA256E-s16367--0b00ef0154c42a0bf94e5be8d92d8af27455d59794f26c33dfc39c09178521c9.pdf
2 SHA256E-s84--b08e1c831863bb43c02158bd5e8f3f5416c3a5203d89fa94a22149460142c273.odt
3 SHA256E-s84--ec4caae451180a29721f2b6667eec8ec80eaa724f0727cf99d2bb21bf9218e9d.odt
4 SHA256E-s84--a59c0f51ab691e709f6e8c859074fcb27236edefbf6a0f317e98e26d939e7398.odt
5 SHA256E-s5825--b4c8aefad4b67b0a81b1894b8fb49d95952bed8d5ad3c292f99b2519b8014db9
6 SHA256E-s519--5ffc804268e84b8c09a37c598928290d025d328e39f7d15b68ae1a2c34f62ca8.txt
7 SHA256E-s84--067b51ece04cac4166070584716d2e1fbe18acfc4838a99f1bff81df2c396c09.doc
8 SHA256E-s84--969be0472b89e08e3b3885f1019123e829df1ef7a1ef33f82634cca343c063be.doc
9 SHA256E-s35087--70abb1924f1d162b5eb24db62519da8721c2acb7f0cb5e6deed9fe489b5a497f.2
10 SHA256E-s0--e3b0c44298fc1c149afbf4c8996fb92427ae41e4649b934ca495991b7852b855.123
11 SHA256E-s3840--8c91392e209a73b0024a650d8d1a67988761453b194cc2f6f8748327c29ec265
12 SHA256E-s4193--7f2e81eee6866389cd06a9166beaa7d45bd2219814a0bf311b5dd962024277eb
13 SHA256E-s28392--46c91fff93396cf2f7a368e19f3ed17de3226e648f49afdbbe77bea1820155d9.bin
14 SHA256E-s668--0bfefd544faf5c116d87dde8e4ce8ad6ecd6741f956fb0feb3b6676dc888b035.txt
15 SHA256E-s84--1263f5118f6d49454f635ca8c603417bd46b548a6a4b38799af88c984dfbf947.odp
16 SHA256E-s65242--4b1e57c289911b4580372b487992b94c0aabfd2d48fd27839d352688c4bb0908.pdf
17 SHA256E-s84--402220c8495916adb5df54586a8dd607004c8a45fd2ec53b153a7b1989913d68.pdf
18 SHA256E-s102737--f9680c7f9ddfd9a6a01943cee410cdef1f7ff81eb50cdb25dc26fcfa03237e6e.png
19 SHA256E-s84--d65bb13dd379ec7ac70af004d72ed734044022d5b27f6f5ed57ff5c6809a9dee.odg
20 SHA256E-s1880--58f60789160c8f28a135b98d2dc1b77d17abe82873df656f6325bf2fbd8b620f.txt
21 SHA256E-s84--7e900d277f8b7aabf89568e68dde6f41fc80599b69d8cc44de1fb86e8b0145a4.odt
22 SHA256E-s1510--ce026c2026a6457647eb1ab2f2ffa7f38644bacbdb0bae28c59e7b40b1a53b31.txt
23 SHA256E-s4096--f66d650f0a9448e6bca814de52528a585d601de0ea0ac7da46efff282946c726.txt.swp
24 SHA256E-s84--0d1594b533f8c47fdc7d02c98006075389adc19926be69f7b2eb92e0bbed4fee.doc
25 SHA256E-s79--7a8c46b9f718d37457d11a2183a0d303a444542166e81e2454234a05835a9f4b.txt
26 SHA256E-s84--a95ef129df4c4d4a055131874b21949602d884d1c9f76b9b04ba2b8a10eb30bc.doc
27 SHA256E-s84--3717092746ae9c12cf081861ccb533affaa9b268c6b14a2df96b1c46b4d98950.ods
28 SHA256E-s5803--bbb1928f88e42c58646a14a2473a756c7a11b4978e1f4a86150721e63aea2203
29 SHA256E-s5692--a4ee24831d2a191e583d1b872c56b9d8fe1ac07d29d06de2c9444d1b0c93f908
30 SHA256E-s144136--571889e209cdfd9e165e3ed07a87438332b9dde40b6ca5dfac08cb9e131a2e5e.csv
31 SHA256E-s84--9138da578264f78c8c08a36fb9e0f7b1299842f59fd6f6a5e26bc4ebf182fb29.csv
32 SHA256E-s84--7e47b1f4091edf17691a21d6a5165193e14a73e1192fe1441a06bf23def9fa34.ods
33 SHA256E-s522--801957a65ce600661b055c6786b120a762b2aad4d273808814bb0ccccbe4b831.txt
34 SHA256E-s1663--04c83426038325183eff752114c029ba4a916777622e36a7c9c482f4e681a216.txt
35 SHA256E-s84--7d92762969a2a1e3838b7f45d285ab52ea39899466856a77764409353f8c7308.odt
36 SHA256E-s84--1640a5e20902906f261fec359143224c14dad3b1930f2fefadd5d704d46c290e.doc
37 SHA256E-s84--8f6b01cec2ab8852ea55e85820d95a8e37da16cb0cead1b0f9d182ddc67ab87a.odt
38 SHA256E-s5072--4ee7f2774e6033368b3743fe57a3ba143a4bcaf44b2f3282b99d4bf2ca14ceae
39 SHA256E-s4562--9c50f7672af796a6be11239262d94c23d669bf149795c2bb59f67f0dd0a54096
40 SHA256E-s53248--ac5280746492d7d542152361e89721135c27aff29f9f483d637874a29b1cbd92
41 SHA256E-s220--ba2ab3c0bbf0fe59888b0f5f60ae3bd6301976166c692550622f627748ef7d6b.txt
42 SHA256E-s3346--3d7fc2aec2e00d8eb5b1f975f11d53f30dc286279dbed01b637cb19280fcc42e
43 SHA256E-s108352--87da23114ec015afa7253b226d336b0638361ea185df77bae7f628a14c80f2f1.png
44 SHA256E-s84--ac4e860530a0b37f1355cf1ddf10cde5097210c593c65d9c3e5cf402dc99d286.pdf
45 SHA256E-s45163--de347508455dead71e9b55c364a7f3113e680ae350a409e58418f7c518e7a63c.pdf
46 SHA256E-s15015--17ad95265391df3dd5af11ef58060589df57400e7cdfccdd32f289f1e231ed63.odt
47 SHA256E-s3054--f0472d1d853926f99b9f3695764aaa951ea702455ed218e5efeb4c8857841b3b
48 SHA256E-s8150--7f01097de6800c51d4cd8ee887168890980897be9e4f8e9486e7d4b139c53f73.txt
49 SHA256E-s5463--4a61e205a4c2a2033db935cd7ce95ed0fd4b98e7e242db599302166f60f708fc
50 SHA256E-s3813--a9bc3468f17f3d63cadc38af6d0609c6d47d08113553d0e5873f5adbb388eedc
51 SHA256E-s4096--9f16f763132b4de67ebba1f2947371415aafddf87a480f81f22f6cddef18a24f.txt.swp
52 SHA256E-s128204--ab9c52624f76615bc9cc631f6df1afdfa2131e0ad6f770ffbf795580d8cadf97.svg
53 SHA256E-s84--5d49450f55081419a4dde42b5d708c1244116b41251fd71d5f8ad5dc1edc6873.odt
54 SHA256E-s1557--8681246a182625130ee5e5cfd13e870c32dbf9ff6fd5a6dff8416585f35912c8
55 SHA256E-s84--a95ef129df4c4d4a055131874b21949602d884d1c9f76b9b04ba2b8a10eb30bc.odt
56 SHA256E-s4618--aab7a878343ad9aa95bc4262a7fed7877697ec68693b2ec45a8f51a64b50fdb3
57 SHA256E-s14951--f8dacf07fef485ac206794be77f5fb5696119184d0fddf5706bf0b4ee392c9bd.odt
58 SHA256E-s749--14dfcbb539943ed491c550a51c3c8bed2f042fb82fc395d201379d9f2932f5ec
59 SHA256E-s8284--45155583e103c3d90fa4d61b9363f17cf8d9507c9f160c0a6aa059d46243e395
60 SHA256E-s1698--bbfb0e5f770e85ce8c08b8605ba3708d7ce21d63e1ffdaf99f37d63e61b3bc5b.txt
61 SHA256E-s15055--e8101c044b07b6e306f17776afb28cf1a36f13562b6b8b8782fa74a613220390.odt
62 SHA256E-s3348--e5df5a41441ee4dafa35d7285d02cfc2f8fa3f20c7972ac084a090375a385b22
63 SHA256E-s84--080ef117428b151c929ee1db74f9d4c2d4ace85f723ad5f8a487ab63d84e1e0d.odp
64 SHA256E-s84--7f57d8fabee7edf06e5f2d6c7e99136b271101be1ba0c7e26b85a845b62722f6.odt
65 SHA256E-s84--cf5f716716fc2eb1a224a95282a7b6e7fc931cec15fef1df10912299bb84c35c.pdf
66 SHA256E-s84--a2ac3ede7b52c93989f7d813797c2e93be6e94f3af47427de86b71b3c662b337.ods
67 SHA256E-s84--e8efa29940784d66b250fc6e81211ace9df02c77e0d559c6425a501e6abccc80.odt
68 SHA256E-s3392--d0a054eebb413d4576c1c32d9077f4dba10c3b2dad01654f7ed86770d649d43f.dia
69 SHA256E-s84--a28f72843e1c0dc6a0ae57fdb69ee11b9fb36a021a7bc3f456fe6a157f444274.csv
70 SHA256E-s5494--4eb19e5e170fef8e2ae31a7a63386417bc00193631199a96afc7df88ecdef07c
71 SHA256E-s84--402220c8495916adb5df54586a8dd607004c8a45fd2ec53b153a7b1989913d68.odt
72 SHA256E-s74434--402ce526077adc642bbc7e0ed28540e2be7c100c95e151ab9a9daed41cd07776.png
73 SHA256E-s4096--2c1499ae1f9b7cb857041a611379cdce16163a0b4634fd7ec05286855c8401f2.txt.swp
74 SHA256E-s84--c55c699ff634e8d2757d3bd29ee50a54ccfdf266da18c634b8c7814dd66bdd9e.odt
75 SHA256E-s5889--4058978be3994cfed36222ce9ba11b93b4e2d9a82f5ef30bd695c06316372101
76 SHA256E-s82--a14960a268a9912f645c3c67a81884117e886efff2321079f271302ff6577ddb.odp#
77 SHA256E-s4096--720a0af8b22e5c0a4a101677e0f67ca3904f3722c24634a8b856e82eefdda435.txt.swp
78 SHA256E-s84--82676bdc89c75ce7285b02b5594bc5f1b6ac0e47a5072e66dd54eda7064ed8fe.csv
79 SHA256E-s2023--028674662dcbf2e60b38f9cbb44845197b0e741a7aa93aad37fc2d0af12f4e00.log
80 SHA256E-s3353--bc11854b11f4d2f8362a1d526d77ccca978031af21a27af2cc90cc2d8ee1394f
81 SHA256E-s84--7d92762969a2a1e3838b7f45d285ab52ea39899466856a77764409353f8c7308.pdf
82 SHA256E-s4096--06f15aa232f1f050a9daa7c7072f1302cdf2b1b81a8b38810f7b74fd9fffc29c.txt.swp
83 SHA256E-s1677--dca0bdab35c62d72a5be3f0a41c468da775abe039bd9b6d4ebe59971c210aa44.txt
84 SHA256E-s84--067b51ece04cac4166070584716d2e1fbe18acfc4838a99f1bff81df2c396c09.pdf
85 SHA256E-s84--029d228859321bdb7cf40980d4f8be9b8b62b39260f797ec7cdb2e9d2643106e.ods
86 SHA256E-s2514--f8fe868945c3fc2239c6d778d782778c60014dec6fc0c32954f4b5528092e270
87 SHA256E-s84--0e8c8ba84ffa8e29e8987d1d1f92cfb682a8ec3e139c59425be125728bca6b2a.odt
88 SHA256E-s84--710d69bef61674b04974ac550d713e5928563b2a12b902b64fe451705b967452.doc
89 SHA256E-s3830--1348d6248e35625da3e22f73d2a0017185bb5e1aa37f65bbca5dfcb3c7f53034
90 SHA256E-s119822--7c1b53ab6402b8835473f0b5c326f3cc300ac9372be79694942c1efa4bcdc621.pdf
91 SHA256E-s84--63b6188696795885ff6570a76a3a74799396787f7058cbcfd4a2c40b22982420.odt
(To see where data was previously used, try: git log --stat -S'KEY')
To remove unwanted data: git-annex dropunused NUMBER
ok
greg@x200s:~/Documents$ git-annex copy --unused --to synology
"""]]
Is that correct behavior? I would assume the last command would at least run through the 91 files and check my synology remote that they are there. Like this repo did:
[[!format sh """
$ git-annex unused
unused . (checking for unused data...) (checking master...) (checking 60justin/master...)
Some annexed data is no longer used by any files:
NUMBER KEY
1 SHA256E-s9390266--7ed16c9423b331dbe63bb3b4278b8c94a6754a07177c53fceb3b24e9610e8054.NEF
2 SHA256E-s10435713--49cbfe8466eada2c3787c9a7e158a7dfb9845a0aa8ef862ed2578b59c889dc4d.NEF
3 SHA256E-s9442044--85c314e318f643237df5e3adf7559e9bf268ee28f1f92d4102161865323ddeb6.NEF
4 SHA256E-s290672--c5822c3ef16bd62b5752b2dace81182ce00d64bd4d2d994ba93e3cb94e645708.JPG
5 SHA256E-s293288--30f1367fc326f7b053012818863151206f9e3ddeab3c3fc5b5c1c573d120d50a.JPG
6 SHA256E-s3672986--be960f6dc247df2496f634f7d788bd4a180fe556230e2dafc23ebc8fc1f10af3.JPG
(To see where data was previously used, try: git log --stat -S'KEY')
To remove unwanted data: git-annex dropunused NUMBER
ok
$ git-annex copy --unused --to synology
copy SHA256E-s9390266--7ed16c9423b331dbe63bb3b4278b8c94a6754a07177c53fceb3b24e9610e8054.NEF (checking synology...) ok
copy SHA256E-s10435713--49cbfe8466eada2c3787c9a7e158a7dfb9845a0aa8ef862ed2578b59c889dc4d.NEF (checking synology...) ok
copy SHA256E-s9442044--85c314e318f643237df5e3adf7559e9bf268ee28f1f92d4102161865323ddeb6.NEF (checking synology...) ok
copy SHA256E-s290672--c5822c3ef16bd62b5752b2dace81182ce00d64bd4d2d994ba93e3cb94e645708.JPG (checking synology...) ok
copy SHA256E-s293288--30f1367fc326f7b053012818863151206f9e3ddeab3c3fc5b5c1c573d120d50a.JPG (checking synology...) ok
copy SHA256E-s3672986--be960f6dc247df2496f634f7d788bd4a180fe556230e2dafc23ebc8fc1f10af3.JPG (checking synology...) ok
$
"""]]