Re: Using -prune option of find to ignore hidden directories
Richard Owlett <email@example.com> writes:
> The man page for find confuses me.
> Looking for explanatory material I found and tried to follow examples
> in http://mywiki.wooledge.org/UsingFind#A-prune .
> I tried
> find /home/richard \( -type d -name .* -prune \) -o -atime -42 -print
> find /home/richard \( -type d -name .* -prune \) -atime -42 -print
> Each got an "find: paths must precede expression: .." error
.* is being globed. Put it in quotes.