Here's the method that saved my butt yesterday, when my colleague needed about two or three thousand of my original pics, and they were all nestled in my backup disk...
Well I got them all for him in about an hour or less.
1. Did Category filter
2. Select all
3. Edit menu > Copy to clipboard > selected filenames
4. Pasted file names into a file called "copylist"
5. Ran a script called "findcopypics"
6. Moved the found originals to another location
7. Repeat 1.-6.
want to know what the script looks like?
like this
Code: Select all
#!/bin/bash
dir=/media/625GB/z\ photo\ backup/ #location of originals to search in
dest=/media/FILES/PRINT/FIND/ #location to send found originals
toCopyList=/media/FILES/my\ pictures/copylist #location of file with file names to search for
notCopied=/media/FILES/my\ pictures/missed #location of file to dump file names of file not found from search
while read line; do
find "$dir" -name "$line" -exec cp '{}' $dest \; -printf "%f\n"
done < "$toCopyList" > cpList
cat cpList "$toCopyList" | sort | uniq -c | sed -nr '/^ +1/s/^ +1 +(.*)/\1/p' \
> "$notCopied"
it will even report on files that were not copied (or not found).
it could be better, I had help with this from stack exchange, but it works.