This is by far the most complex of the Wacs XML commands as it has the most work to do. This command basically reads the Wacs XML file it is given, tries to find the matching zip or movie file, unpacks it, chooses a location for it, moves it there and adds it's details to the database. At it's simplest you use it as follows:
% wacsxmlin set417.xml Destination Area: solo Category: gallery010 %
It additionally supports two extra command line options,
--clone
which says put it exactly where the XML file
says it came from and is ideal for copying content between in-house and
production internet web servers. The other one is --default
which merely does whatever the default answer would be on this
site. For a site with gallery layout, this should pretty much do the
right thing.
Note | |
---|---|
Unfortunately the mechanism incorporated into wacsxmlin for handling the import of connections between sets in WACS 0.9.0 release is rather simplistic and will only cope with sets that have matching download records. However wacsxmlout does export the necessary new information when creating a version 2 format file and support for reading that information will be included in a future release. |