Linux/X86
$find . -name *.json |xargs -i cp {} /tmp/
For Android7, Android xargs does not support "-i"
find . -name *.json |xargs -i cp {} /sdcard/ <
usage: xargs [-ptxr0] [-s NUM] [-n NUM] [-L NUM] [-E STR] COMMAND...
Run command line one or more times, appending arguments from stdin.
If command exits with 255, don't launch another even if arguments remain.
-s Size in bytes per command line
-n Max number of arguments per command
-0 Each argument is NULL terminated, no whitespace or quote processing
#-p Prompt for y/n from tty before running each command
#-t Trace, print command line to stderr
#-x Exit if can't fit everything in one command
#-r Don't run command with empty input
#-L Max number of lines of input per command
-E stop at line matching string
xargs: Unknown option i
find: bad arg '19506031ab1b3a9d137208360838b785_2.json'
Try exec
$ find . -type f -name *.json -exec cp "{}" /sdcard \;
$find . -type f -name *.json | tar zcfv /sdcard/json.tgz -T - ## -T read file list, -: read from stdio , this will keep the original folder path