diff options
author | Joey Hess <joey@kitenet.net> | 2013-09-25 13:16:55 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-09-25 13:16:55 -0400 |
commit | d2b503f7edb486f31545633fc7c7b4a9999a271e (patch) | |
tree | 23b3358c665ce917e1f53858c5d6f844b4b09b5f /doc/git-annex.mdwn | |
parent | 13cb0a0e733773e16dd2dd9f79d1bddc5440cd60 (diff) |
import: Preserve top-level directory structure.
Diffstat (limited to 'doc/git-annex.mdwn')
-rw-r--r-- | doc/git-annex.mdwn | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/doc/git-annex.mdwn b/doc/git-annex.mdwn index 25d9ecb46..f0c81f07f 100644 --- a/doc/git-annex.mdwn +++ b/doc/git-annex.mdwn @@ -206,10 +206,9 @@ subdirectories). Moves files from somewhere outside the git working copy, and adds them to the annex. Individual files to import can be specified. - If a directory is specified, all files in it are imported, and any - subdirectory structure inside it is preserved. + If a directory is specified, the entire directory is imported. - git annex import /media/camera/DCIM/ + git annex import /media/camera/DCIM/* By default, importing two files with the same contents from two different locations will result in both files being added to the repository. |