git-annex-inprogress(1)

πŸ“¦
version 10.20261026 Β· 2 versions
  • 10.20261026 Β· alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking (latest)
  • 8.20210223 Β· ubuntu jammy
, in alpine 3.24, arch rolling, debian bookworm, debian trixie, epel 10, fedora 43, fedora 44, nixos 26.05, nixpkgs unstable, opensuse-leap 16.0, ubuntu noble, ubuntu questing, ubuntu resolute, ubuntu stonking

✨ git-annex-inprogress ✨

okay bestie, welcome to the git-annex-inprogress(1) page from the General Commands Manual πŸŽ€ this one is lowkey magic: it's all about peeking at files while they're still downloading πŸ‘€πŸ’–


🌸 NAME 🌸

git-annex-inprogress β€” access files while they're being downloaded πŸ¦‹


✨ SYNOPSIS ✨

git annex inprogress [path ...]

πŸ’… DESCRIPTION πŸ’…

so here's the vibe: this command lets you get at the content of an annexed file while it's still being downloaded. it prints to standard output the name of the temporary file that's being used to download the annexed file you asked about. that's it, that's the whole thing, and it's iconic 🫢

heads up though: nothing will be output when the download is coming from an encrypted or chunked special remote. just no output, periodt πŸ’€

sometimes you can use this to stream a file before it's fully downloaded, like:

 git annex get video.mpeg &
 vlc $(git annex inprogress video.mpeg)

and now the real talk πŸ™ˆ of course, if the file is downloading too slowly, the media player will reach the end too soon and not show you the whole thing. and of course, only some file formats can be usefully streamed this way. no cap, that's just how it is.


πŸŽ€ OPTIONS πŸŽ€

  • [path ..] β€” the files or directories whose partially downloaded content you wanna access, bestie πŸ“

ngl, when no path is specified, it defaults to all files in the current working directory, and subdirectories, which can take a while to traverse 😭 so it's most efficient to specify the file you're actually interested in, or to use --all ✨

  • --all, -A β€” instead of naming a filename or path, this one lets you access all files that are currently being downloaded. the whole set, no picking favorites πŸ’œ
  • --key=keyname β€” access the file that's currently being downloaded for the specified key πŸ”‘
  • file matching options β€” the git-annex-matching-options(1) can be used to specify files to access 🌈

also the git-annex-common-options(1) can be used, yay 🧚


⭐ EXIT STATUS ⭐

if any of the requested items are not currently being downloaded, the exit status will be 1. so like, a lil sad face from the shell πŸ˜”


πŸ’– SEE ALSO πŸ’–


πŸ‘‘ AUTHOR πŸ‘‘

Joey Hess <id@joeyh.name> β€” king behavior, honestly πŸ’…


and that's the page, bestie!! this lil rewrite came from the git-annex-inprogress(1) manual page and it's dated at the bottom of the original with that same git-annex-inprogress(1) footer πŸ’– go forth and stream responsibly, mwah πŸŽ€βœ¨