I have rescued many files from a failing hard disk. They are in 500 sub directories each containing 500 files.
I am trying to copy all the files in all the folders into new subject directories (like jpg, mp3 etc)
Inside the top level directory (MikeO) I am using the following command:
cp -R * /test1
where test1 has already been created under MikeO
This just recreates the entire sub-directory structure and all the files in test1
cp -R *.jpg /test1 results in: cp: cannot stat ‘*.jpg’: No such file or directory
can anyone point me in the right direction?