aboutsummaryrefslogtreecommitdiff
path: root/doc/git-annex-inprogress.mdwn
blob: 1a595cba14ee9d44563cece70b0d41a446b4b307 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
# NAME

git-annex inprogress - access files while they're being downloaded

# SYNOPSIS

git annex inprogress `[path ...]`

# DESCRIPTION

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.

# OPTIONS

* file matching options
 
  The [[git-annex-matching-options]](1)
  can be used to specify files to access.

* `--all`

  Rather than specifying a filename or path, this option can be
  used to access all files that are currently being downloaded.

# EXIT STATUS

If any of the requested files are not currently being downloaded,
the exit status will be 1.

# SEE ALSO

[[git-annex]](1)

[[git-annex-get]](1)

# AUTHOR

Joey Hess <id@joeyh.name>

Warning: Automatically converted into a man page by mdwn2man. Edit with care.