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 |