move/copy: started implementing --from src --to dest

This is not in a usable state, but I have a possible plan for how to do
it.

Sponsored-by: Dartmouth College's DANDI project
This commit is contained in:
Joey Hess 2023-01-20 11:10:38 -04:00
parent f74904ee2c
commit a46c385aec
No known key found for this signature in database
GPG key ID: DB12DB0FF05F8F38
2 changed files with 67 additions and 0 deletions

View file

@ -115,5 +115,7 @@ getKey' key afile = dispatch
either (const False) id <$> Remote.hasKey r key
| otherwise = return True
docopy r witness = do
liftIO $ print "read line"
void $ liftIO $ getLine
showAction $ "from " ++ Remote.name r
download r key afile stdRetry witness