I just wanted to have a way to manage data copying / syncing between a fileserver and my android phone. So I pushed some files on my fileserver into a git remote and added the files with the annex subcommands then cloned the git tree from my workstation which is connected to my smartphone.
Now I followed the documentation about the special remote adb and created that remote with the initremote command. When I then export I get (not available) failed errors.
Which is caused by the fact that I didn't have checked out the files on my workstation. I don't need the files on this pc so it would be stupid to checkout partially huge files there or in other words I don't need the files at that place, I don't get why the export command not has a --from option where it can get the files?
Is there a reason that does not exist and if so what would be a way to do sending files to the android device without ssh-ing into my server?
git annex export --from
would be basically the same as transitive transfers and the comments there detail the problems with trying to support that.What you can do is download the files onto the computer that is connected to the phone, export them to the phone, and then drop the files from the computer.
git-annex copy --from foo --to bar
is implemented now, with caveats. (Eg, needs to temporarily store each file on disk.)So I think it would make sense to implement
git-annex export --from foo --to bar
, with the same caveats.