further tweaking gets me here
# find /home/himal/ size +1000 -name image3*.jpg -exec mv '{}'
/home/himal/Pictures/recovered/bigger800kb/ \;
find: paths must precede expression: image301001.jpg
Usage: find [-H] [-L] [-P] [-Olevel] [-D
help|tree|search|stat|rates|opt|exec] [path...] [expression]atleast its starting to see some image (like image301001.jpg) On 8/25/10, Ramnarayan.K <[email protected]> wrote: > On 8/25/10, Ritesh Sinha <[email protected]> wrote: >> # find $SOURCEFOLDER -type f -size +800 -name '*.jpg' -exec mv {} >> $DESTFOLDER/. \; >> > > this is what i get > # find /home/himal -type f +800 -name *.jpg -exec mv {} > /home/himal/Pictures/recovered/bigger800kb/ > bash: /usr/bin/find: Argument list too long > > all the way till +7000 i get the same error ?? > > find /home/himal -type f +7000 -name *.jpg -exec mv {} > /home/himal/Pictures/recovered/bigger800kb/ > bash: /usr/bin/find: Argument list too long > > any idea what is wrong - as you can see i tried reducing the number of > target files so that the command would not crash under overload but it > seems something else is the matter because i am quite sure there are > not too mny images over 7000 kb as my camera has a max (best) image > size of about 5 MB > > ram > -- ubuntu-in mailing list [email protected] https://lists.ubuntu.com/mailman/listinfo/ubuntu-in
