Multiple account package change

powvex

Active Member
Jan 19, 2003
35
0
156
My problem is; I've moved 4 different reseller's accounts to a server under one reseller account, and now everything works fine but accounts packages are all wrong old resellers packages.
My question is: How can I rename accounts packages to reflect new reseller?

example:
old accounts use these packages:
res1_pack1
res1_pack2
res2_pack1
res3_pack3
res1_pack4

they should be changed to:
newreseller_pack1,2,3,4,...
 

powvex

Active Member
Jan 19, 2003
35
0
156
Its nearly impossible, its around 400 accounts...
Is there any script to read package names and then assign new packages name? some perl maybe?