diff -r 94c0a938b66c -r ee9e63c437c4 docs/src/commands.md --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/docs/src/commands.md Sun Jul 09 20:15:14 2017 +0200 @@ -0,0 +1,44 @@ +Commands +======== + +Overview +-------- + +List resources: + + dav list + +Download resource: + + dav get + +Download all resources from a collection: + + dav get -R + +Upload a file: + + dav put + +Upload all files from a directory: + + dav put -R + +Duplicate a resource or a collection on a server: + + dav copy + +There is also a move operation similar to copy: + + dav move + +These are the most common commands. There are also more commands for webdav locking and manipulating webdav properties. + +Common options +-------------- + +**`-N`** disable any authentication prompt. If authentication is required, dav will abort. + +**`-i`** disable TLS certificate verification + +**`-v`** enable verbose output. Internally `CURLOPT_VERBOSE` is set to 1 and verbose output is printed on stderr.