import Annex.NumCopies
cmd :: Command
-cmd = withGlobalOptions (jobsOption : fileMatchingOptions) $ notBareRepo $
+cmd = withGlobalOptions fileMatchingOptions $ notBareRepo $
command "import" SectionCommon
"move and add files from outside git working copy"
paramPaths (seek <$$> optParser)
)
seek :: ImportOptions -> CommandSeek
-seek o = allowConcurrentOutput $ do
+seek o = do
repopath <- liftIO . absPath =<< fromRepo Git.repoPath
inrepops <- liftIO $ filter (dirContains repopath) <$> mapM absPath (importFiles o)
unless (null inrepops) $ do
git annex import /dir --include='*.png'
-* `--jobs=N` `-JN`
-
- Imports multiple files in parallel. This may be faster.
- For example: `-J4`
-
# CAVEATS
Note that using `--deduplicate` or `--clean-duplicates` with the WORM