Page 1 of 1

Replace data in AMC file

Posted: 2010-08-02 07:47:39
by ferino
Is the way, how to mass replace strings in AMC file ?
For example:
Category Before: Thriller / Drama
After: Thriller , Drama


Thanks.
Sorry for my english.

maybe

Posted: 2010-08-02 08:16:44
by ferino
I inspired with:
viewtopic.php?t=4424

I replaced fieldURL with fieldCATEGORY


Sorry for my English.

Posted: 2010-08-02 17:07:41
by bad4u
Yes, the script from your link is the correct way.

Use

Code: Select all

oldValue = ' / ';
newValue = ' , ';
and replace fieldURL with fieldCategory, then it should work.
Make a backup of your catalog before you run this script on it !

Posted: 2010-08-03 07:03:04
by ferino
bad4u: thanks, It works fine.