wording
This commit is contained in:
parent
e47d1fd43e
commit
aedf84f7d6
1 changed files with 4 additions and 5 deletions
|
@ -4,8 +4,8 @@ than you would like. How to manage this?
|
||||||
|
|
||||||
The whereis subcommand can be used to see how many copies of a file are known,
|
The whereis subcommand can be used to see how many copies of a file are known,
|
||||||
but then you have to decide what to get or drop. In this example, there
|
but then you have to decide what to get or drop. In this example, there
|
||||||
are rather too many copies of `other_file` and perhaps not enough of the
|
are perhaps not enough copies of the first file, and too many of the second
|
||||||
other file.
|
file.
|
||||||
|
|
||||||
# cd /media/usbdrive
|
# cd /media/usbdrive
|
||||||
# git annex whereis
|
# git annex whereis
|
||||||
|
@ -17,9 +17,8 @@ other file.
|
||||||
7570b02e-15e9-11e0-adf0-9f3f94cb2eaa -- backup drive
|
7570b02e-15e9-11e0-adf0-9f3f94cb2eaa -- backup drive
|
||||||
|
|
||||||
What would be handy is some automated versions of get and drop, that only
|
What would be handy is some automated versions of get and drop, that only
|
||||||
get a file if there are not yet enough copies of it, or only drop a file
|
gets a file if there are not yet enough copies of it, or only drops a file
|
||||||
if there are too many copies. Well, these exist, just use the --auto
|
if there are too many copies. Well, these exist, just use the --auto option.
|
||||||
option.
|
|
||||||
|
|
||||||
# git annex get --auto --numcopies=2
|
# git annex get --auto --numcopies=2
|
||||||
get my_cool_big_file (from laptop...) ok
|
get my_cool_big_file (from laptop...) ok
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue