documentation for export
This commit was sponsored by Ole-Morten Duesund on Patreon.
This commit is contained in:
parent
e55e445a36
commit
8f35c6584d
4 changed files with 49 additions and 0 deletions
37
doc/git-annex-export.mdwn
Normal file
37
doc/git-annex-export.mdwn
Normal file
|
@ -0,0 +1,37 @@
|
||||||
|
# NAME
|
||||||
|
|
||||||
|
git-annex export - export content to a remote
|
||||||
|
|
||||||
|
# SYNOPSIS
|
||||||
|
|
||||||
|
git annex export `treeish --to remote`
|
||||||
|
|
||||||
|
# DESCRIPTION
|
||||||
|
|
||||||
|
Use this command to export a tree of files from a git-annex repository.
|
||||||
|
|
||||||
|
Normally files are stored on a git-annex special remote named by their
|
||||||
|
keys. That is great for data storage, but your filenames are obscured.
|
||||||
|
Exporting replicates the tree to the special remote as-is.
|
||||||
|
|
||||||
|
Mixing key/value and exports in the same remote would be a mess and so is
|
||||||
|
not allowed. So, you have to configure a remote with `exporttree=true`
|
||||||
|
when initially setting it up with [[git-annex-initremote]](1).
|
||||||
|
|
||||||
|
Repeated exports are done efficiently, by diffing the old and new tree,
|
||||||
|
and transferring only the changed files.
|
||||||
|
|
||||||
|
Exports can be interrupted and resumed. However, partially uploaded files
|
||||||
|
will be re-started from the beginning.
|
||||||
|
|
||||||
|
# SEE ALSO
|
||||||
|
|
||||||
|
[[git-annex]](1)
|
||||||
|
|
||||||
|
[[git-annex-export]](1)
|
||||||
|
|
||||||
|
# AUTHOR
|
||||||
|
|
||||||
|
Joey Hess <id@joeyh.name>
|
||||||
|
|
||||||
|
Warning: Automatically converted into a man page by mdwn2man. Edit with care.
|
|
@ -96,6 +96,8 @@ instead of to the annex.
|
||||||
|
|
||||||
[[git-annex-add]](1)
|
[[git-annex-add]](1)
|
||||||
|
|
||||||
|
[[git-annex-export]](1)
|
||||||
|
|
||||||
# AUTHOR
|
# AUTHOR
|
||||||
|
|
||||||
Joey Hess <id@joeyh.name>
|
Joey Hess <id@joeyh.name>
|
||||||
|
|
|
@ -158,6 +158,12 @@ subdirectories).
|
||||||
|
|
||||||
See [[git-annex-importfeed]](1) for details.
|
See [[git-annex-importfeed]](1) for details.
|
||||||
|
|
||||||
|
* `export treeish --to remote`
|
||||||
|
|
||||||
|
Export content to a remote.
|
||||||
|
|
||||||
|
See [[git-annex-export]](1) for details.
|
||||||
|
|
||||||
* `undo [filename|directory] ...`
|
* `undo [filename|directory] ...`
|
||||||
|
|
||||||
Undo last change to a file or directory.
|
Undo last change to a file or directory.
|
||||||
|
|
|
@ -31,6 +31,10 @@ remote:
|
||||||
Do not use for new remotes. It is not safe to change the chunksize
|
Do not use for new remotes. It is not safe to change the chunksize
|
||||||
setting of an existing remote.
|
setting of an existing remote.
|
||||||
|
|
||||||
|
* `exporttree` - Set to "true" to make this special remote usable
|
||||||
|
by [[git-annex-export]]. It will not be usable as a general-purpose
|
||||||
|
special remote.
|
||||||
|
|
||||||
Setup example:
|
Setup example:
|
||||||
|
|
||||||
# git annex initremote usbdrive type=directory directory=/media/usbdrive/ encryption=none
|
# git annex initremote usbdrive type=directory directory=/media/usbdrive/ encryption=none
|
||||||
|
|
Loading…
Reference in a new issue