docs/src/dav.1.md

changeset 703
2e3a24b9896a
parent 440
a62d312d8e53
child 714
10a5d6ce0906
equal deleted inserted replaced
702:444aa8fe133f 703:2e3a24b9896a
1 % DAV(1) Version 1.2 | DavUtils User Manuals 1 % DAV(1) Version 1.3 | DavUtils User Manuals
2 % Olaf Wintermann 2 % Olaf Wintermann
3 % July 1, 2018 3 % December 15, 2019
4 4
5 # NAME 5 # NAME
6 6
7 **dav** - command line WebDAV client 7 **dav** - command line WebDAV client
8 8
17 # COMMANDS 17 # COMMANDS
18 18
19 list [**-altdepcR**] [**-u** *date*] *url* 19 list [**-altdepcR**] [**-u** *date*] *url*
20 : Lists the files at *url*. 20 : Lists the files at *url*.
21 21
22 get [**-pcRK**] [**-o** *file*] [**-u** *date*] *url* 22 get [**-pcRK**] [**-o** *file*] [**-u** *date*] [**-V** *version*] *url*
23 : Downloads a resource from *url*. 23 : Downloads a resource from *url*.
24 24
25 put [**-pcR**] [**-k** *key*] [**-L** *lock*] *url* *file* 25 put [**-pcR**] [**-k** *key*] [**-L** *lock*] *url* *file*
26 : Uploads a resource to *url*. 26 : Uploads a resource to *url*.
27 27
34 copy [**-pcO**] [**-L** *lock*] *srcurl* *desturl* 34 copy [**-pcO**] [**-L** *lock*] *srcurl* *desturl*
35 : Copies a resource or collection from *srcurl* to *desturl*. 35 : Copies a resource or collection from *srcurl* to *desturl*.
36 36
37 move [**-pcO**] [**-L** *lock*] *srcurl* *desturl* 37 move [**-pcO**] [**-L** *lock*] *srcurl* *desturl*
38 : Moves a resource or collection from *srcurl* to *desturl*. 38 : Moves a resource or collection from *srcurl* to *desturl*.
39
40 rename [**-pcO**] [**-L** *lock*] *srcurl* *name*
41 : Changes the name of a resource or collection at *srcurl* to *name*.
39 42
40 export [**-pc**] [**-o** *file*] [**-u** *date*] *url* 43 export [**-pc**] [**-o** *file*] [**-u** *date*] *url*
41 : Exports a resource or collection to a **tar(5)** archive. By default the 44 : Exports a resource or collection to a **tar(5)** archive. By default the
42 data is written to *stdout*, but you may specify a *file* with the **-o** 45 data is written to *stdout*, but you may specify a *file* with the **-o**
43 option. 46 option.
81 : Gets the time from the server providing the resource denoted by *url*. 84 : Gets the time from the server providing the resource denoted by *url*.
82 If *url* is not specified, this command prints the local time. 85 If *url* is not specified, this command prints the local time.
83 This command is useful, if the server clock and the local clock are not 86 This command is useful, if the server clock and the local clock are not
84 in sync. 87 in sync.
85 88
89 versioncontrol [**-pc**] *url*
90 : Puts the resource, specified by url, under version control. This is
91 required in order to use other versioning commands with this resource.
92
93 list-versions [**-pc**] *url*
94 : Lists all versions of a version-controlled resource.
95
96 checkout [**-pc**] *url*
97 : Changes the state of a resource to checked-out to allow modifications
98 to the content and properties.
99
100 checkin [**-pc**] *url*
101 : Changes the state of a resource to checked-in. This will create a new
102 version of the resource. In the checked-in state the resource cannot
103 be modified.
104
105 uncheckout [**-pc**] *url*
106 : Cancels all modification of the resource and sets the state to checked-in
107 without creating a new version.
108
86 # CONFIGURATION COMMANDS 109 # CONFIGURATION COMMANDS
87 110
88 add-repository 111 add-repository
89 : This command runs an interactive assistant that creates a repository 112 : This command runs an interactive assistant that creates a repository
90 configuration. 113 configuration.
96 : Lists all currently configured repositories. 119 : Lists all currently configured repositories.
97 120
98 check-config 121 check-config
99 : Validates the **$HOME/.dav/config.xml** configuration file. 122 : Validates the **$HOME/.dav/config.xml** configuration file.
100 123
124 repository-url [**-p**] *repository*
125 : Prints the repository url.
126
127 add-user
128 : Adds a user to the secret store.
129
130 remove-user
131 : Removes a user from the secret store.
132
133 edit-user
134 : Interactive command for modifying users stored in the secret store.
135
136 list-users
137 : Lists all users stored in the secret store.
138
101 # GENERAL OPTIONS 139 # GENERAL OPTIONS
102 140
103 The following options can be used with all commands. 141 The following options can be used with all commands.
104 142
105 -i 143 -i
163 : Timeout in seconds. 201 : Timeout in seconds.
164 202
165 -u *date* 203 -u *date*
166 : Get resources which are modified since the specified *date*. 204 : Get resources which are modified since the specified *date*.
167 205
206 -V *version*
207 : downloads a specific version of the resource. Available versions can be
208 listed with the list-versions command
209
168 -x 210 -x
169 : XML property content. 211 : XML property content.
170 212
171 213
172 # SEE ALSO 214 # SEE ALSO

mercurial