From 8c2629cfd184cd65dc825790844816c92c685c70 Mon Sep 17 00:00:00 2001 From: "georg.schnabel@bd6be2144f897f5caa0028e0dd1e0a65634add81" Date: Wed, 17 Feb 2021 13:58:00 +0000 Subject: [PATCH] --- doc/git-annex-import.mdwn | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/doc/git-annex-import.mdwn b/doc/git-annex-import.mdwn index afe37a7690..f36bf0be5a 100644 --- a/doc/git-annex-import.mdwn +++ b/doc/git-annex-import.mdwn @@ -105,15 +105,17 @@ the tree of files on the remote, even when importing into a subdirectory. # IMPORTING FROM A DIRECTORY -When run with a path, `git annex import` moves files from somewhere outside -the git working copy, and adds them to the annex. +When run with a path, `git annex import` **moves** files from somewhere outside +the git working copy, and adds them to the annex. In contrast to importing +from a special directory remote, imported files are **deleted from the given path**. This is a legacy interface. It is still supported, but please consider switching to importing from a directory special remote instead, using the interface documented above. Individual files to import can be specified. If a directory is specified, -the entire directory is imported. +the entire directory is imported. Please note that the following instruction +will **delete all files from the source directory**. git annex import /media/camera/DCIM/*