From: Wolfgang M. <wol...@ex...> - 2011-03-17 14:23:13
|
> Wolfgang - this sounds useful for folks like Jens who use the backup > utility. At the same time, is whitespace preservation one of the > goals of the backup utility? Is WebDAV perhaps the better route for > this use case? The backup utility dumps the XML as it is stored internally. No extra serialization settings are applied. The backup is not really intended for human consumption and is thus not the best tool if you want to sync application code to the file system. You are right that using the WebDAV or REST interfaces is a better approach for this use case. The XML is pretty printed and you don't have to remove the __contents__.xml files afterwards. What I thought was to add a "sync2fs" utility, which could be simpler than a backup and compares timestamps to determine which files need to be written to disk. Wolfgang |