I'm trying to build a command file to be run by the IdcCommand utility to archive files that have expired. Is it possible to set the export query in the command file? I know how to export the archive once the archive has been built, but I'm stuck on constructing the archive from the command line.
Thanks for the response. I should have closed this off yesterday. But yes, that is exactly what I ended up doing. I created an archive using the Archiver applet and then I had a scheduled cron call a script that exported the archive using the IdcCommand. It worked like a charm.
I've created an archive manually and had a look at the archive.hda file, the aExportQuery value is in there. However it looks like this parameter is ignored by the ADD_ARCHIVE service. Isn't there a way to set if through the API?