0

The scenario is I have a bunch of files:

peter1.json
peter2.json
peter3.json
peter4.json
tom1.json
tom2.json
tom3.json
tom4.json
jane1.json
jane2.json
jane3.json
jane4.json
plus various other files I don’t want to move.

And I want to move those files into a folder called data. I tried variations on

mv peter* tom* jane* /data
and it doesn’t work.

Am I using the wrong tool for the job? Should this be possible with

mv
?