docs/src/get.md

Fri, 02 Feb 2018 16:46:04 +0100

author
Olaf Wintermann <olaf.wintermann@gmail.com>
date
Fri, 02 Feb 2018 16:46:04 +0100
changeset 366
5228b912c925
parent 285
02d3e4b1245f
child 407
9505224d2fd2
permissions
-rw-r--r--

adds technical foundation to just push tag updates

---
title: 'dav get'
---

**`dav get [-pcR] [-o <file>] [-u <date>] <url>`**

Downloads a resource. This command also downloads collections and its child resources when the **`-R`** option is used.
When downloading a single resource, the default local file name is the resource
name. When downloading collections, it does **not** create a local directory with
the collection's name and places its children in there, but it downloads the
children directly to the current working directory.

**`-p`** disable file name and content decryption. You get exactly what is stored
  on the server.
  
**`-c`** enable file name and content decryption

**`-R`** download a collection

**`-o <file>`** specify the local output file. A **-** indicates stdout

**`-u <date>`** download only files which are modified since the specified date. Uses the HTTP date format

mercurial