如何将文件作为文档批量添加到 OSX Lion Server Wiki 3
我们在 AFP 共享上有 000 个文件,由 4 或 5 人使用。该共享位于 OSX 10.7 服务器上。
用户没有尝试进行版本控制或重复数据删除。我想将每个文档保存在单独的 wiki 页面中,并使用 Lion Server 附带的 Wiki 的文档管理功能来跟踪每个文档的更改。 我正在寻找一种脚本化的方法来:
- 选择共享文件夹中的每个文档
- 创建一个 wiki 页面作为“新文件”
- 将文档上传到页面
- 使用文档路径标记页面(以便用户进行搜索
)是 collabd 服务的一部分,该服务是一系列 ruby 程序。
我可以看到脚本可以在 ruby 中完成,也可以使用 URL 访问脚本作为 applescript 完成。我正在寻找可以调整的示例代码。
We have 000s of files on an AFP share, used by 4 or 5 people. The share is on an OSX 10.7 server.
There is no attempt at version control or de-duplication by the users. I would like to hold each document in a seperate wiki page and use the document management features of the Wiki that comes with Lion Server to track changes against each document.
I am looking for a scripted way to:
- select each document in the shared folder
- create a wiki page as a "New File"
- upload the document to the page
- tag the page with the path of the document (to enable searching by users)
The Wiki is part of the collabd services which are a series of ruby programs.
I can see that the scripting could be done in ruby or as applescript using URL access scripting. I'm looking for sample code that I can adapt.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论