Skip to main content
replaced http://unix.stackexchange.com/ with https://unix.stackexchange.com/
Source Link

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:

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:

Source Link
Wildcard
  • 37.5k
  • 30
  • 149
  • 284

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: