cp -r *[^msg_archive.ibd]* /mysqlData/db1/
cp -a `ls |grep -v msg_archive.ibd` /vastdata2/db1/imsc/

from inside db1 directory run:

1.cp -a `ls |grep -v imsc` /vastdata2/db1/

from inside imsc directory run:

2.create imsc directory
3.cp -r *[^msg_archive.ibd]* /mysqlData/db1/imsc/

Advertisements