Just a quick and dirty script, but this should be what you are looking for… <?php error_reporting(E_ALL | E_STRICT); ini_set(‘display_errors’, 1); /* * Boostrap Magento */ $mageFilename=”../app/Mage.php”; require_once $mageFilename; Mage::setIsDeveloperMode(true); umask(0); $mageRunCode=””; $mageRunType=”store”; Mage::init($mageRunCode, $mageRunType); /* * Set up required data */ $newManufacturers = file(‘manufacturers.txt’, FILE_SKIP_EMPTY_LINES | FILE_IGNORE_NEW_LINES); $newManufacturers = array_unique($newManufacturers); $attribute = Mage::getModel(‘eav/entity_attribute’) ->loadByCode(‘catalog_product’, … Read more