Author: Dan Langille
Date: 14-03-02 20:36
When you have a large number of files, you can't use mv *:
$ mv * ..
bash: /bin/mv: Argument list too long
You have passed the upper limit.
But you can use find:
$ find . -name "output.*.xml" -exec mv {} .. \;
Remember that \ or you'll get this error:
$ find . -name "output.*.xml" -exec mv {} .. ;
find: -exec: no terminating ";"
|
|