On 04/10/2010 03:10 PM, Leonard Adjei wrote:
> What I'm worried about is it deleting filenames (music) which has the
> word "small" in them. Or that is unlikely??
>
> -----------
> $ find AUDIO/  -name \*Small\* exec rm -i {} \;
> find: paths must precede expression: exec
> Usage: find [-H] [-L] [-P] [-Olevel] [-D
> help|tree|search|stat|rates|opt|exec] [path...] [expression]
>
>
> This is what I got after execution, there's an error somewhere
>    
There needs to be a '-' before the exec; i.e.:

find AUDIO/  -name \*Small\* -exec rm -i {} \;


Paolo


-- 
users mailing list
users@lists.fedoraproject.org
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

Reply via email to