OK, this is driving me crazy. Moving a ton of DCRs, need to get the EAs.
Wrote a script to pull the XML copy of the EAs. Easy enough, all in 1 big file that looks like
filename
XML
XML
XML
file2
XML
XML
XML
etc.
So I wrote something to parse it and run the command (I save the XML to EA.xml and run this in Perl):
$command = "cat /home/andy/EA.xml | $iwhome/bin/iwextattr -s -x ".$start.$filename;
print $command."\n";
qx{$command};
Here is what I see:
cat /home/andy/EA.xml | /opt/interwoven/TeamSite/bin/iwextattr -s -x /default/main/component-guide/WORKAREA/shared/templatedata/OffersR1/Offer/data/2014_march/DCR.xml
ERROR:00920: Error locating /default/main/component-guide/WORKAREA/shared/templatedata/OffersR1/Offer/data/2014_march/DCR.xml
But if I copy the command and run it from bash it works fine (used component guide branch for a test).
I also tried using iwextattr -s -x file < EA.xml and saw the same results.
using perl system and backticks had the same results.
What am I missing ?
Andy