DAVIX-GET(1)

πŸ’– DAVIX-GET β€” ok bestie, let's download stuff ✨

hey hi hello πŸ‘‹ this is the manual for davix-get, part of the davix download tool suite (manual section 1). Yes it's a manual page. Yes I made it cute. the facts are all still here tho, no cap 🫢


🌸 NAME 🌸

davix-get β€” a download tool based on libdavix πŸ’…


πŸŽ€ SYNOPSIS πŸŽ€

ok so it's giving two whole modes, pick ur fighter:

davix-get [options]... url
davix-get [options]... url local_file

one is "gimme the bytes", the other is "gimme the bytes and put them here". iconic. πŸ¦‹


✨ DESCRIPTION ✨

davix-get is literally a tool to download resources from HTTP, Webdav, or REST compatible services. it's out here doing the most so you don't have to 😌

The command supports the protocol Http (http(s)://), WebDav (dav(s)://) and S3 (s3(s)://). so many schemes, so little time πŸ’…

Target resources can either be a single file or a collection. and if it's a collection?? bestie. all sub-collections will also be downloaded. it's giving "you asked for a folder, you got the whole tree" 🌳

davix-get is powered by libdavix. peek at libdavix(3) for the deets πŸ‘‘


πŸ‘‘ OPTIONS πŸ‘‘

πŸ’« Common Options πŸ’«

  • --debug β€” debug mode. turn it on when things are lowkey acting up πŸ”
  • --header, -H β€” add a header field to the request (eg: -H "Depth: 1" ) πŸŽ€
  • --help, -h β€” display this help message. the classic "help me bestie" move πŸ™ˆ
  • --metalink OPT β€” Metalink support. (OPT=failover[default]|no) β€” so failover is the default, no turns it off ✨
  • --module, -P PLUGIN_NAME β€” load a plugin or profile by name 🧩
  • --redirection OPT β€” transparent redirection support. (OPT=yes[default]|no) β€” yes is the default, no says "don't follow me around" πŸ™…
  • --proxy, -x URL β€” SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org) πŸ•ΆοΈ
  • --trace β€” traces specific scope(s), options include:
    • file β€” Davix file interface
    • posix β€” Davix POSIX interface
    • xml β€” XML parser output
    • ssl β€” SSL and certs details
    • header β€” HTTP queries headers
    • body β€” HTTP bodies
    • chain β€” IO chains info
    • core β€” Config and Davix command line tools info
    • grid β€” Misc info from 3rd parties
    • socket β€” Socket info
    • locks β€” WebDAV locking info
    • all β€” Traces everything πŸ”₯
  • --version β€” display version ⭐

πŸ” Security Options πŸ”

  • --capath CA_PATH β€” add an additional certificate authority directory πŸ“
  • --cert, -E CRED_PATH β€” client certificate in PEM format πŸͺͺ
  • --key priv_path β€” private key in PEM format πŸ”‘
  • --insecure, -k β€” disable SSL credential checks ⚠️
ok so real talk: this one turns off the SSL credential checks. that's the whole point of the flag, and it's exactly as spicy as it sounds. use with intention, bestie πŸ’€
  • --userlogin β€” user login for login/password authentication πŸ™‹
  • --userpass β€” user password for login/password authentication 🀫
  • --s3secretkey β€” AWS S3 authentication: secret key πŸ—οΈ
  • --s3accesskey β€” AWS S3 authentication: access key πŸ—οΈ
  • --s3region β€” AWS S3 authentication: region 🌍
  • --s3token β€” AWS S3 security token β€” used along with STS temporary credentials 🎫
  • --s3alternate β€” specify this flag if you need to use a path-based S3 URL πŸ›£οΈ
  • --azurekey β€” Azure authentication key ☁️

🌈 EXAMPLES 🌈

download content and print it on stdout

davix-get http://example.org/dir1/dir2/file1

just yeeting those bytes straight at ur terminal πŸ–¨οΈ

download content to a local file

davix-get s3://bucket.example.org/collection/file2 /tmp/file2

s3 vibes, local destination, slay πŸ’Ύ

download content to a local file with VOMS authentication in a Grid environment

davix-get -P grid davs://grid-storage.example.org/dir1/file1 /tmp/file1

grid girlies rise πŸ‘‘ (-P grid is the profile loading in action ✨)

download content and print it to stdout, using a OAuth token

davix-get https://example.org/dir1/tmpfile -H "Authorization: Bearer mytoken"

token goes in the header, main character energy fr fr 🎟️

download collection to a local directory

davix-get dav://example.org/dir ./mydir

whole collection?? into ./mydir?? obsessed 🫢


πŸ¦‹ SEE ALSO πŸ¦‹

libdavix(3), davix-get(1), davix-put(1), 🧚


http://dmc.web.cern.ch/projects/davix/home 🌐


πŸ’œ AUTHORS πŸ’œ

Adrien Devresse <adrien.devresse@cern.ch>, IT-SDC-ID, CERN 🌸


and that's the page!! bye bestie, go download something iconic πŸ’…βœ¨

this was the davix manual, version $Date: 2014/05/24 $ β€” mwah, ily, see u in the next manpage πŸŽ€πŸ’–

πŸ“¦ where this page comes from