find usage

Brian Cluff brian at snaptek.com
Mon Jun 27 14:30:20 MST 2022


Try:
find . -name Marriage
or
find . | grep Marriage

The first one will only match fines that are exactly names "Marriage" 
while the second one will match any files with "Marriage" as part of the 
name.  Both versions in this case are care sensitive.

See the find man page for for variations on these.  Look for the second 
about expressions.

Brian Cluff

On 6/27/22 11:32, Michael via PLUG-discuss wrote:
> I need to find out where I hopefully moved a file.
> So I'm opening the directory I'm searching in a terminal and type:
>
> find Marriage .
>
> but it just gives me a listing of what is below '.' (I guess). What am 
> I doing wrong?
>
> -- 
> :-)~MIKE~(-:
>
> ---------------------------------------------------
> PLUG-discuss mailing list -PLUG-discuss at lists.phxlinux.org
> To subscribe, unsubscribe, or to change your mail settings:
> https://lists.phxlinux.org/mailman/listinfo/plug-discuss
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.phxlinux.org/pipermail/plug-discuss/attachments/20220627/96e6f8c1/attachment.html>


More information about the PLUG-discuss mailing list