DAVIX-RM(1)

πŸ’– DAVIX-RM β€” the delete tool, bestie edition πŸ’–

okay so this is davix-rm(1) from the DAVIX gang, and honestly? it's giving "listing tool" energy in the header but it's really the deletion girlie. let's get into it πŸŽ€


✨ NAME ✨

davix-rm β€” deletion tool based on libdavix. that's the whole vibe. she deletes. πŸ—‘οΈ


✨ SYNOPSIS ✨

davix-rm [options]... url

that's it. options, then a url. iconic minimalism fr fr πŸ’…


✨ DESCRIPTION ✨

so davix-rm is the tool you reach for when you need to delete resources over HTTP, Webdav, or REST compatible services. she's not picky, she's versatile. πŸ‘‘

and listen β€” she can delete resources and resources containers. files, directories, the whole little ecosystem. no cap.

she supports these protocols:

  • Http β€” http(s)://
  • WebDav β€” dav(s)://
  • S3 β€” s3(s)://

davix-rm is powered by libdavix, so if you want the deep lore, go read libdavix(3). she's standing on business because libdavix is standing behind her. 🫢


✨ OPTIONS ✨

🌸 Common Options 🌸

  • --debug β€” debug mode. she gets chatty, she tells you everything. very main character of her.
  • --header, -H β€” add a header field to the request (eg: -H "Depth: 1"). you're literally hand-delivering extra info into the request. fancy.
  • --help, -h β€” display this help message. your girl is helpful like that.
  • --metalink OPT β€” Metalink support. the OPT values are failover[default]|no. so failover is what you get unless you say otherwise.
  • --module, -P PLUGIN_NAME β€” load a plugin or profile by name. plug her in, she adapts. πŸ”Œ
  • --redirection OPT β€” transparent redirection support. OPT is yes[default]|no. yeah, yes is the default, she follows the redirects like a loyal bestie.
  • --proxy, -x URL β€” SOCKS5 proxy server URL. (ex: socks5://login:pass@socks.example.org). route her through the proxy, she doesn't mind. 🧚
  • --trace β€” traces specific scope(s). and bestie, the scope list is LONG, here's the whole menu:
    • 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 misc info
    • grid - Misc info from 3rd parties
    • socket - Socket info
    • locks - WebDAV locking info
    • all - Traces everything

yes, all literally traces everything. she's not subtle and we love that for her. πŸ’€

  • --version β€” display version. know who you're dealing with. ⭐

πŸ” Security Options πŸ”

  • --capath CA_path β€” add an additional certificate authority directory. more CAs, more trust, more secure vibes.
  • --cert, -E cred_path β€” client Certificate in PEM format. show them your papers. πŸ“œ
  • --key priv_path β€” private key in PEM format. keep this one close, she's precious. πŸ™ˆ
  • --insecure, -k β€” disable SSL credential checks.
⚠️ bestie this one is literally called "insecure." it turns OFF the checks. do not do this casually, okay? dramatic but true. πŸ’€
  • --userlogin β€” user login for login/password authentication. who are you? say it with your chest.
  • --userpass β€” user password for login/password authentication. and the secret that goes with it. 🀫
  • --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. Azure girlies get their moment too. πŸ’œ

✨ EXAMPLES ✨

Delete a file over http β€” the classic, the starter pack:

davix-rm https://example.org/file1

Delete a directory over WebDav β€” she eats directories for breakfast:

davix-rm
dav://webdav.example.org/collection/collection_to_delete

Delete a resource on a Grid Storage with VOMS authentication β€” for when you're in your grid era:

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

see how the -P grid loads that plugin? that's the --module option working her magic. slay. ✨


✨ SEE ALSO ✨

go read these next, they're all in the same friend group:


that's the home base, that's where the davix lore lives. 🏠


✨ AUTHORS ✨

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

thank you Adrien, king behavior honestly πŸ‘‘πŸ’–


and that's the whole page!! this was davix from the $Date: 2014/05/24 $ era, page DAVIX-RM(1), and she's still out here deleting things with grace. go forth and remove responsibly bestie, ily πŸ¦‹πŸ’…πŸŒΈ

πŸ“¦ where this page comes from