Using only POSIX features of find (and also of mv):
find path_A -name '*AAA*' -exec sh -c 'mv "$@" path_B' find-sh {} +
Further reading:
Using only POSIX features of find (and also of mv):
find path_A -name '*AAA*' -exec sh -c 'mv "$@" path_B' find-sh {} +
Further reading: