I was trying to move all Video files(not Directory) from withing my Downloads folder to the Videos folder...
I assumed I was safe as in my mind move is not delete. I may be learning that this is the case the hard way.
I tried the following command:
find /home/billy/Downloads -type f -iname "*.mkv" -o -iname "*.mp4" -o -iname "*.avi" | xargs /bin/rm -f | xargs -I list mv list /home/billy/Videos/
It looked like it worked as the video files were gone from the sub directories. But they didn't land in the Video Directory at all. In fact, I can't find them anywhere. I try a locate *.mkv and it finds my files and says they are right where they were. However, the files aren't there when I navigate to the containing folders...
Are the files recoverable?
Does anyone know where my silly command may have put them?
Why can locate find them but they aren't there?
/bin/rm -f
command?!