find 1/ -type f | xargs -n1 -I "ZZZZZ" grep -l "object" "ZZZZZ" | xargs -n1 -I "XXXXX" mv "XXXXX" 2/
object是要找的文件内容