DAVIX-LS(1)

πŸ’– DAVIX-LS(1) β€” the listing tool πŸ’–

okay bestie, so this is davix-ls, a listing tool from the libdavix family (that's section 1 of the manual, iykyk). it lives in your terminal, it's powered by libdavix, and it's about to make directories make sense.


✨ SYNOPSIS ✨

davix-ls [options]... url

🌸 DESCRIPTION 🌸

so davix-ls is literally the tool you use to list resources inside directories or collections that live on HTTP, WebDav or REST compatible services. no cap. it's giving "ls but for the internet" πŸ’…

and the way it supports both WebDav (dav://, davs://) and S3 (s3://, s3s://)?? obsessed. πŸ¦‹

davix-ls is powered by libdavix, bestie. if you wanna go deeper, check libdavix(3) for the details. 🫢


πŸ‘‘ OPTIONS πŸ‘‘

πŸŽ€ Listing Options πŸŽ€

  • -l, --long-list β€” long listing mode. yes, the long one. the main character version of listing. ✨
  • --s3-listing β€” S3 bucket listing mode β€” flat, semi or hierarchical (hierarchical is the default, in case you were wondering). πŸ“
  • --s3-maxkeys β€” the maximum number of entries that get returned by an S3 list bucket request. default is 10000. don't be greedy bestie. 😭

🌈 Common Options 🌈

  • --debug β€” debug mode. turn it on when you want the tea. 🍡
  • --header, -H β€” add a header field to the request (for example: -H "Depth: 1"). very "let me speak to the server directly" of you. πŸ’…
  • --help, -h β€” display this help message. we love a helpful icon. ✨
  • --metalink OPT β€” Metalink support. OPT can be failover (that's the default) or no. 🧚
  • --module, -P PLUGIN_NAME β€” load a plugin or profile by its name. 🌟
  • --redirection OPT β€” transparent redirection support. OPT can be yes (the default) or no. πŸ”€
  • --proxy, -x URL β€” SOCKS5 proxy server URL. example: socks5://login:pass@socks.example.org. 🫢
  • --trace β€” traces specific scope(s). the 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. 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. keep it secret, keep it safe bestie. πŸ™ˆ
  • --insecure, -k β€” disable SSL credential checks. > ⚠️ yeah this one is literally called insecure, so like… know what you're doing. πŸ”₯
  • --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 πŸ’«

WebDav directory file listing:

davix-ls dav://example.org/dir1/dir2/

AWS S3 bucket listing:

davix-ls s3://bucket.example.org/collection/

Long listing with WebDav with VOMS authentication in a Grid environment:

davix-ls -P grid davs://grid-storage.example.org/dir1/dir2/

Long listing with WebDav + TLS directory file listing:

davix-ls -l davs://example.org/dir1/dir2/

πŸ¦‹ 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 whole page bestie!! this one came from the davix source, dated $Date: 2014/05/24 $, and yes it is iconic. go list something. slay. πŸ’–βœ¨

πŸ“¦ where this page comes from