git-annex-inprogress(1) | General Commands Manual | git-annex-inprogress(1) |
git-annex-inprogress - access files while they're being downloaded
git annex inprogress [path ...]
This command allows accessing the content of an annexed file while it is still being downloaded. It outputs to standard output the name of the temporary file that is being used to download the specified annexed file.
This can sometimes be used to stream a file before it's been fully downloaded, for example:
git annex get video.mpeg &
vlc $(git annex inprogress video.mpeg)
Of course if the file is downloading too slowly, the media player will reach the end too soon and not show the whole thing. And of course, only some file formats can be usefully streamed in this way.
If any of the requested files are not currently being downloaded, the exit status will be 1.
Joey Hess <id@joeyh.name>