cadaver

Command-line WebDAV client

TLDR

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

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

INSTALL

sudo apt install cadaver
sudo dnf install cadaver
sudo pacman -S cadaver
sudo apk add cadaver
sudo zypper install cadaver
brew install cadaver
nix profile install nixpkgs#cadaver

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)

RESOURCES

Source code · Homepage