On Wed, Aug 25, 2010 at 7:53 PM, Ramnarayan.K <[email protected]> wrote:
> 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]
>
>
find /home/himal/ size +1000 -name 'image3*.jpg' -exec mv {}
/home/himal/Pictures/recovered/bigger800kb/ \;
This should do the trick.
Don't use single quotes around the curly braces next to "mv" and make
sure argument to "-name" to be in single quotes.
--
With Regards
Abhishek Amberkar
--
ubuntu-in mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-in