LinuxCommandLibrary

cadaver

Command-line WebDAV client

TLDR

Connect to WebDAV server

$ cadaver [http://dav.example.com/]
copy
Connect with specific port
$ cadaver [http://example.com:8080/path/]
copy
Connect via HTTPS
$ cadaver [https://secure.example.com/]
copy
Connect through proxy
$ cadaver -p [proxy:8080] [http://dav.example.com/]
copy
Use custom rcfile
$ cadaver -r [~/.myrc] [http://dav.example.com/]
copy

SYNOPSIS

cadaver [options] URL

DESCRIPTION

cadaver is a command-line WebDAV client for Unix systems. It supports file upload, download, on-screen display, in-place editing, namespace operations, collection management, property manipulation, and resource locking.
Operation is similar to ftp(1) and smbclient(1).

PARAMETERS

-t, --tolerant

Allow cd/open into non-WebDAV collections
-r file, --rcfile=file
Use specified rcfile instead of ~/.cadaverrc
-p host[:port], --proxy=host[:port]
Connect through proxy server
-V, --version
Show version
-h, --help
Show help

CONFIGURATION

~/.cadaverrc

User settings and scripts
~/.netrc
Auto-login credentials

INTERACTIVE COMMANDS

ls [path]

List collection contents
cd path
Change to collection
pwd
Show current collection
get file
Download file
put file
Upload file
mkcol name
Create collection (directory)
delete file
Delete resource
copy src dest
Copy resource
move src dest
Move resource
edit file
Edit file in place

CAVEATS

URL must be absolute with http: or https: scheme. Some servers may have WebDAV compliance issues; use -t flag for tolerance.

SEE ALSO

curl(1), ftp(1), smbclient(1)

> TERMINAL_GEAR

Curated for the Linux community

Copied to clipboard

> TERMINAL_GEAR

Curated for the Linux community