0

I have used this command mentioned below to find the files and move it in a folder:

$ find . -maxdepth 1 -name "Screen*.png" -exec mv ./ScreenShot/ {} +

This is showing this error:

usage: mv [-f | -i | -n] [-v] source target
       mv [-f | -i | -n] [-v] source ... directory
Kusalananda
  • 320,670
  • 36
  • 633
  • 936
Sudhs
  • 1
  • 1

1 Answers1

0

You need

mv -t dest {} +

or

mv {} dest
user1133275
  • 5,488
  • 1
  • 19
  • 37