Re: Deleting all image files with "small" keyword

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe or change subscription options:
https://admin.fedoraproject.org/mailman/listinfo/users
Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines

[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux