ND(1)
π ND(1) β the cutest little WebDAV bestie π
okay so. manual name? it's nd. section 1, General Commands Manual. and bestie, it's a tiny little command line WebDAV interface π¦ β small but it ATE.
β¨ SYNOPSIS β¨
nd [options] url
that's it. that's the whole vibe. nd, some options if you want, and a url. π
πΈ DESCRIPTION πΈ
nd gives you a simple command line interface to an RFC 2518 (WebDAV) server. no cap, that's the whole point of it.
and here's the thing β if you specify no option at all, nd just goes ahead and issues an HTTP GET command and writes the response data straight to the standard output. like, it just does it. no notes. π«Ά
the options are as follows, and yes bestie, we're going through all of them:
π OPTIONS π
-cdest_url β COPY theurlto the dest_url. and if you specified-t, it uses the lock token. π«-fβ force override the content, even when the MOVE or COPY target already exists. it's giving "I said what I said". π€-vβ view property information ofurlvia PROPFIND. and if you pair it with-g, only the property you specified gets displayed. so efficient. β-pfile β PUT the file content to theurl. uses the lock token if-tis specified. π§-gname β specify the property name for the-voption. iykyk.-ename=value β edit the property with name to value, using PROPPATCH. glow-up for your metadata. β¨-Nnamespace-url β specify the property namespace URL, for the-eor-goption.-Pfile β POST the file content to theurl. and-Tis what you use for the Content-Type.-Tcontent_type β use content_type as the Content-Type field value of the POST request. the default isapplication/x-www-form-urlencoded. that's the default, don't come for me. π-dβ DELETE theurl. uses the lock token if-tis specified. bye bestie π-lβ LOCK theurl. use-oas owner,-sas scope, and-ias timeout. π-oowner β specify the lock owner. default is theUSERenvironment variable. iconic default tbh.-sscope β specify the lock scope, eitherexclusiveorshared. default isexclusive.-itimeout β specify the lock timeout interval. default isInfinite. literally forever. π-uβ UNLOCK theurl. the-toption is required here, no skipping. π¨-ttoken β specify the lock token.-rβ set command executionDepthasInfinity. going deep. π-arealm β specify the authentication realm.-Arealm β specify the proxy authentication realm. note the capital A, bestie, they are NOT the same. π-kβ MKCOL theurl.-mdest_url β MOVE theurlto the dest_url. uses the lock token if-tis specified. π¦-Sβ print output using s-expression.
π ENVIRONMENT VARIABLES π
http_proxy,HTTP_PROXYβ specify the HTTP proxy. πUSERβ when you're manipulating a lock without an explicit owner option, the value ofUSERgets used to set the owner of the file lock.
π BUGS π
okay this part is messy, stay with me.
a maintainer of the Debian package implemented Digest authentication on top of the original software. however β and this is the tea β the upstream source uses the nanoHTTP code from libxml2 to implement the HTTP transport.
due to properties inherent in that code for detecting and following redirected target sites, there is no way to pull out the new address in order to insert it into the hashes necessary for the Digest method. so nd will therefore incorrectly answer with 'Bad request' to any method call aimed at such sites. π
BUT. using the correct logical name for the target will, however, produce a correct response from nd. so likeβ¦ use the right name. problem solved bestie. π«Ά
π«Ά AUTHORS π«Ά
Yuuichi Teranishi (teranisi@gohome.org). thank you for your service king π
π SEE ALSO π
libxml(4)
and that's the whole page, bestie! this one's from February 25, 2002, and the source line is ND(1) β so yeah, it's been slaying since 2002. periodt. πβ¨π
π¦ where this page comes from
- debian bookworm: nd 0.8.2-8.1 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- debian trixie: nd 0.8.2-8.1 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- ubuntu jammy: nd 0.8.2-8build1 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- ubuntu noble: nd 0.8.2-8.1 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- ubuntu questing: nd 0.8.2-8.1build1
- ubuntu resolute: nd 0.8.2-9 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- ubuntu stonking: nd 0.8.2-9 Β· MPL-1.1 OR GPL-2.0-only OR LGPL-2.1-only
- Copyright (c) 2002 Yuuichi Teranishi <teranisi@gohome.org>
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms