A while ago i posted that i lost everything due to a malicious script. I however succeeded in recovering almost every bit of data - most importantly my photo's. Thanks to photorec and testdisk.
Now comes the next problem. Sorting all my pictures.
I gave my photo's keywords. So when i look at the image properties, i see:
Image Type: jpeg (The JPEG image format)
Camera Brand: Canon
Date Taken: 2010:08:15 14:57:51
Now i'm trying to copy all my files with the keywords Gambia to another directory. I can find the images with the following command, but i can't append a copy command to it.
2nd problem - SOLVED
find . -type f | xargs grep -lri "gambia"
Other things i want to know is how i can delete all jpg's < 500kb (junk).
I wrote some scripts, but i can seem to find them (too many data recovered). I rememberd some of the code: "changing IFS to newline means spaces", and tried:
mainstream@dopamine-pc:~/Desktop/Recovery 500GB$ find . -type f | xargs grep -lri "changing IFS to newline means spaces"
But no luck.
I get the following output after a few hours.
xargs: unmatched single quote; by default quotes are special to xargs unless you use the -0 option
I tried to append the -0, but that gives me an error message (xargs: argument line too long).
Thanks in regards