@@ -16,6 +16,9 @@ Alfresco shell scripts for extracting user, groups, sites, data and metadata inf
16
16
- [ getSiteMemberships.sh] ( #getsitemembershipssh )
17
17
- [ getUserGroups.sh] ( #getusergroupssh )
18
18
- [ getAuthority.sh] ( #getauthoritysh )
19
+ - [ More Download Scripts] ( #more-download-scripts )
20
+ - [ downloadDoc.sh] ( #downloaddocsh )
21
+ - [ downloadList.sh] ( #downloadlistsh )
19
22
- [ Tested on] ( #tested-on )
20
23
- [ Author] ( #author )
21
24
- [ Links] ( #links )
@@ -312,6 +315,36 @@ $ ./getAuthority.sh -g ALFRESCO_ADMINISTRATORS -f
312
315
admin,Administrator,Administrator,USER
313
316
```
314
317
318
+ ## More Download Scripts
319
+
320
+ ### downloadDoc.sh
321
+
322
+ It provides a download script for a given Alfresco uuid and filename
323
+ ```
324
+ $ ./downloadDoc.sh -h
325
+ Usage: ./downloadDoc.sh [-d uuid] [-n name]
326
+ ```
327
+
328
+ ### downloadList.sh
329
+
330
+ Download files selected from a webscript list resultset.
331
+ ```
332
+ $ ./downloadList.sh
333
+ ```
334
+
335
+ A second webscript is necessary to deploy in Alfresco in net/zylk:
336
+
337
+ * get-download-list.get.desc.xml
338
+ * get-download-list.get.js
339
+ * get-download-list.get.text.ftl
340
+
341
+ The webscript obtains a list for the files tagged with "critical", but may be customized for any alfresco-fts query:
342
+
343
+ ```
344
+ workspace://SpacesStore/5515d3e1-bb2a-42ed-833c-52802a367033;Sitios/swsdp/documentLibrary/Presentations;Project Objectives.ppt
345
+ workspace://SpacesStore/99cb2789-f67e-41ff-bea9-505c138a6b23;Sitios/swsdp/documentLibrary/Presentations;Project Overview.ppt
346
+ ```
347
+
315
348
## Tested on
316
349
317
350
* Alfresco Enterprise 4.1.1
0 commit comments