984c9fc052
get, drop: Added --auto option, which decides whether to get/drop content as needed to work toward the configured numcopies. The problem with bundling it up in optimize was that I then found I wanted to run an optmize that did not drop files, only got them. Considered adding a --only-get switch to it, but that seemed wrong. Instead, let's make existing subcommands optionally smarter. Note that the only actual difference between drop and drop --auto is that the latter does not even try to drop a file if it knows of not enough copies, and does not print any error messages about files it was unable to drop. It might be nice to make get avoid asking git for attributes when not in auto mode. For now it always asks for attributes.
23 lines
517 B
Markdown
23 lines
517 B
Markdown
A walkthrough of the basic features of git-annex.
|
|
|
|
[[!toc]]
|
|
|
|
[[!inline feeds=no show=0 template=walkthrough pagenames="""
|
|
creating_a_repository
|
|
adding_a_remote
|
|
adding_files
|
|
renaming_files
|
|
getting_file_content
|
|
transferring_files:_When_things_go_wrong
|
|
removing_files
|
|
removing_files:_When_things_go_wrong
|
|
modifying_annexed_files
|
|
using_ssh_remotes
|
|
moving_file_content_between_repositories
|
|
unused_data
|
|
fsck:_verifying_your_data
|
|
fsck:_when_things_go_wrong
|
|
backups
|
|
automatically_managing_content
|
|
more
|
|
"""]]
|