This commit is contained in:
Joey Hess 2015-07-02 16:09:14 -04:00
parent ad1ffa47ba
commit a8a1566cb7

View file

@ -0,0 +1,45 @@
[[!comment format=mdwn
username="joey"
subject="""comment 2"""
date="2015-07-02T20:04:19Z"
content="""
Note that using `--in remote` also limits the display to files that
are present in the specified remote, much as --exclude limits the display.
joey@darkstar:~/lib/sound/podcasts/Agile_in_3_Minutes>git annex info . --in archive-10
directory: .
local annex keys: 13
local annex size: 27.88 megabytes
annexed files in working tree: 13
size of annexed files in working tree: 27.88 megabytes
numcopies stats:
numcopies +1: 9
numcopies +2: 4
repositories containing these files: 5
27.88 MB: 00000000-0000-0000-0000-000000000001 -- web
27.88 MB: 1b5ecc94-abb3-45f7-8f4c-5bc65f78d518 -- toshiba passport 1tb [passport]
27.88 MB: 587b9ccf-4548-4d6f-9765-27faecc4105f -- darkstar [here]
27.88 MB: 6fa26a5f-cb05-4ef0-951b-bc59266ee4e4 -- archive-10 [archive]
8.3 MB: b0bb7176-98e6-457d-b68e-41bfd49be147 -- joey@gnu:~/lib/sound [gnu]
joey@darkstar:~/lib/sound/podcasts/Agile_in_3_Minutes>git annex info .
directory: .
local annex keys: 16
local annex size: 34.32 megabytes
annexed files in working tree: 16
size of annexed files in working tree: 34.32 megabytes
numcopies stats:
numcopies +1: 9
numcopies +2: 4
numcopies +0: 3
repositories containing these files: 5
34.32 MB: 00000000-0000-0000-0000-000000000001 -- web
34.32 MB: 1b5ecc94-abb3-45f7-8f4c-5bc65f78d518 -- toshiba passport 1tb [passport]
34.32 MB: 587b9ccf-4548-4d6f-9765-27faecc4105f -- darkstar [here]
27.88 MB: 6fa26a5f-cb05-4ef0-951b-bc59266ee4e4 -- archive-10 [archive]
8.3 MB: b0bb7176-98e6-457d-b68e-41bfd49be147 -- joey@gnu:~/lib/sound [gnu]
In the first command above, it is only considering files that are in the archive-10 remote,
and it shows what size those files are taking up on each listed repository. The second command
considers all files and we can see that some other repos have files not present in the archive-10 remote.
"""]]