git-annex/doc/walkthrough/moving_file_content_between_repositories.mdwn

14 lines
719 B
Text
Raw Normal View History

Often you will want to move some file contents from a repository to some
other one. For example, your laptop's disk is getting full; time to move
some files to an external disk before moving another file from a file
server to your laptop. Doing that by hand (by using `git annex get` and
`git annex drop`) is possible, but a bit of a pain. `git annex move`
makes it very easy.
2019-03-27 15:15:03 +00:00
$ git annex move my_cool_big_file --to usbdrive
2011-03-28 02:52:13 +00:00
move my_cool_big_file (to usbdrive...) ok
2019-03-27 15:15:03 +00:00
$ git annex move video/hackity_hack_and_kaxxt.mov --from fileserver
2011-03-28 02:52:13 +00:00
move video/hackity_hack_and_kaxxt.mov (from fileserver...)
SHA256-s86050597--6ae2688bc533437766a48aa19f2c06be14d1bab9c70b468af445d4f07b65f41e 100% 82MB 199.1KB/s 07:02
ok