F16 Help with find.

Ralf Corsepius rc040203 at freenet.de
Thu Apr 5 09:07:02 UTC 2012


On 04/05/2012 09:31 AM, Frank Murphy wrote:
> Error from logwatch:
> find: paths must precede expression: (-name
> Usage: find [-H] [-L] [-P] [-Olevel] [-D
> help|tree|search|stat|rates|opt|exec] [path...] [expression]
>
>
> find /nfs/yum/16/i386/_local/packages -type f ! \(-name 'autoplus*' -o
Try adding a "-a" here ........................^

(Between "-type f" and "!")

> -name 'bleachbit*' -o -name 'ceylon*' -o -name 'mousepad*' -o -name
> 'fedorautils*' -o -name 'kernel*' -o -name 'notecase*' -o -name 'perf*'
> -o -name 'packages' \) | xargs -r rm
>

Ralf



More information about the users mailing list