Znajdź i przesuń bash
mv $(find path_A -name "*AAA*") path_B
Troubled Toad
mv $(find path_A -name "*AAA*") path_B