How to specify the target directory with mv?
gfind path_A -name '*AAA*' -exec mv {} path_B/ \;

should work, you can even use find as long as you don‘t need any special functionality only gfind provides. You can also basically use any other answer in the Q&amp;A you link to in the question :-)