diff options
author | Joey Hess <joey@kitenet.net> | 2010-11-28 18:55:49 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2010-11-28 18:55:49 -0400 |
commit | 9d82e815ff5307187d195fd2529420ef7970c412 (patch) | |
tree | 13cc2e6548d9bdc3ebae3aecabcce01257240ac8 /doc/walkthrough.mdwn | |
parent | dc54214404dbe6e9d602a8a14c08411ca3eaceda (diff) |
change name of numcopies attribute
Diffstat (limited to 'doc/walkthrough.mdwn')
-rw-r--r-- | doc/walkthrough.mdwn | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/doc/walkthrough.mdwn b/doc/walkthrough.mdwn index 9d4d2ce59..6a1c688b3 100644 --- a/doc/walkthrough.mdwn +++ b/doc/walkthrough.mdwn @@ -343,11 +343,11 @@ might say about a badly messed up annex: ## backups git-annex can be configured to require more than one copy of a file exists, -as a simple backup for your data. This is controled by the "numcopies" +as a simple backup for your data. This is controled by the "annex.numcopies" setting, which defaults to 1 copy. Let's change that to require 2 copies, and send a copy of every file to a USB drive. - # echo "* git-annex-numcopies=2" >> .gitattributes + # echo "* annex.numcopies=2" >> .gitattributes # git annex copy . --to usbdrive Now when we try to `git annex drop` a file, it will verify that it @@ -357,13 +357,13 @@ content from the current repository. You can also vary the number of copies needed, depending on the file name. So, if you want 3 copies of all your flac files, but only 1 copy of oggs: - # echo "*.ogg git-annex-numcopies=1" >> .gitattributes - # echo "*.flac git-annex-numcopies=3" >> .gitattributes + # echo "*.ogg annex.numcopies=1" >> .gitattributes + # echo "*.flac annex.numcopies=3" >> .gitattributes Or, you might want to make a directory for important stuff, and configure it so anything put in there is backed up more thoroughly: # mkdir important_stuff - # echo "* git-annex-numcopies=3" > important_stuff/.gitattributes + # echo "* annex.numcopies=3" > important_stuff/.gitattributes For more details about the numcopies setting, see [[copies]]. |