cadaver(1)
π cadaver(1) β command-line WebDAV client, bestie edition β¨
π NAME π
cadaver β A command-line WebDAV client for Unix. literally the group chatβs favorite way to talk WebDAV from a terminal. π»
β¨ SYNOPSIS β¨
cadaver [-trp[-r file][-p host[:port]]][-V][-h] URL
πΈ DESCRIPTION πΈ
okay so cadaver supports file upload, download, on-screen display, namespace operations (move and copy), collection creation and deletion, and locking operations. yes bestie, all of that π
Its operation is similar to the standard BSD ftp(1) client and the Samba Projectβs smbclient(1). If youβre familiar with those tools, you should be quite comfortable here β same energy, WebDAV edition. π«Ά
cadaver supports automatically logging in to servers requiring authentication via a .netrc file (similar to ftp(1) β see section "THE .netrc FILE" below). auto-login slay β¨
π OPTIONS π
The URL passed must be an absolute URI using the http: or https URL scheme. No relative vibes allowed. π«
-t,--tolerantβ Allowcd/openinto non-WebDAV enabled collection; use if the server or proxy server has WebDAV compliance problems. be tolerant, bestie π-r,--rcfile=fileβ Use this rcfile rather than the default of~/.cadaverrc. customize ur setup π-p,--proxy=host[:port]β Connect using the proxy host "host" and optional proxy port "port". proxy era π-V,--versionβ Display version information and exit. quick peep π-h,--helpβ Display this help message and exit. help has entered the chat π«Ά
π οΈ COMMAND REFERENCE π οΈ
ls [path]β List contents of current [or other] collection. window shopping ur files ποΈcd pathβ Change to specified collection. moving thru the folder-verse π¦pwdβ Display name of current collection. where r we?? πput local [remote]β Upload local file. send it up β¬οΈget remote [local]β Download remote resource. bring it down β¬οΈmget remote...β Download many remote resources. download haul πmput local...β Upload many local files. upload haul π¦edit resourceβ Edit given resource. write ur little heart out βοΈless remote...β Display remote resource through pager. pager moment πmkcol remote...β Create remote collection(s). make the folder, bestie πcat remote...β Display remote resource(s). cat but make it remote πdelete remote...β Delete non-collection resource(s). bye non-folder things πrmcol remote...β Delete remote collections and ALL contents. ALL contents, no cap β this is the spicy one πΆοΈcopy source... destβ Copy resource(s) from source to dest. copy-paste energy πmove source... destβ Move resource(s) from source to dest. relocation station πlock resourceβ Lock given resource. claimed, do not touch πunlock resourceβ Unlock given resource. release the lock πdiscover resourceβ Display lock information for resource. lock lore πsteal resourceβ Steal lock token for resource. steal the token, iconic behavior πshowlocksβ Display list of owned locks. lock inventory π§Ύpropnames resβ Names of properties defined on resource. property names, collected π·οΈchexec [+|-] remoteβ Changeisexecutableproperty of resource. executable era βοΈpropget res [propname]β Retrieve properties of resource. get those props πpropset res propname valueβ Set property on resource. set the prop, set the vibe πset [option] [value]β Set an option, or display options. tune ur settings ποΈopen URLβ Open connection to given URL. open the connection portal πcloseβ Close current connection. hang up π΄quitβ Exit program. peace out πunset [option] [value]β Unsets or clears value from option. clear the setting π§½lcd [directory]β Change local working directory. local folder hop πlls [options]β Display local directory listing. local listing, local vibes πlpwdβ Print local working directory. local location check πlogoutβ Logout of authentication session. log out, log off, bye auth πͺhelp [command]β Display help message. help has entered the chat, again π«Ά
π THE .netrc FILE π
The file ~/.netrc may be used to automatically login to a server requiring authentication. The following tokens (separated by spaces, tabs or newlines) may be used:
machine hostβ Identify a remote machinehostwhich is compared with the hostname given on the command line or as an argument to theopencommand. Any subsequent tokens up to the end of file or the nextmachineordefaulttoken are associated with this entry. machine match moment πdefaultβ This is equivalent to themachinetoken but matches any hostname. Only onedefaulttoken may be used and it must be after allmachinetokens. default is the catch-all, but only one, and it goes last β οΈlogin usernameβ Specifies the username to use when logging in to the remote machine. ur login π€password string,passwd stringβ Specifies the password to use when logging in to the remote machine. password/passwd, both slay π- Any other tokens (as described in
ftp(1)) are ignored. not invited to the party π
π EXAMPLES π
cadaver http://myserver.example.com/β Connects to the servermyserver.example.com, opening the root collection. root collection realness π‘cadaver http://zope.example.com:8022/Users/fred/β Connects to the serverzope.example.comusing port8022, opening the collection"/Users/fred/". port 8022 + specific collection, very demure πcadaver https://secure.example.com/β Connects to a server calledsecure.example.comusing SSL. SSL secure era π
π FILES π
~/.cadaverrcβ Individual user settings that can overridecadaverdefaults and to scriptcadaver. Can be changed by the"--rcfile"option. ur personal config, ur rules π~/.netrcβ Login and initialization information used by the auto-login process. See section "THE .netrc FILE" for details. auto-login details live above π
π AUTHOR π
Joe Orton <https://github.com/notroj/cadaver> β author icon β¨
π SEE ALSO π
ftp(1), smbclient(1) β the cousins π«Ά
π From the Unix User Manuals, October 2022, cadaver(1) β thatβs the tea, bestie. Go forth and WebDAV! π«Άβ¨
π¦ where this page comes from
- alpine 3.24: cadaver-doc 0.28-r0 Β· GPL-2.0-or-later
- arch rolling: cadaver 0.28-1 Β· GPL-2.0-only
- epel 10: cadaver 0.26-2.el10_0 Β· GPL-2.0-or-later
- fedora 43: cadaver 0.28-1.fc43 Β· GPL-2.0-or-later
- fedora 44: cadaver 0.28-3.fc44 Β· GPL-2.0-or-later
- nixos 26.05: cadaver 0.28
- nixpkgs unstable: cadaver 0.28
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms