Re: How to use FIND/GREP for files with multiple tags

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

 



--- On Wed, 6/18/08, Daniel B. Thurman <dant@xxxxxxxxx> wrote:

> From: Daniel B. Thurman <dant@xxxxxxxxx>
> Subject: How to use FIND/GREP for files with multiple tags
> To: "For users of Fedora-List" <fedora-list@xxxxxxxxxx>
> Date: Wednesday, June 18, 2008, 5:33 PM
> I am trying to use the find command to locate multiple
> files with different tags.  How can I do this?
> 
> I tried something like:
> 
> 1) find . -type f -name '*.wav' -name
> '*.mp3' -name '*.ogg'
>     But that won't work
Try
find /dirwhereyouneed -iname "*.wav" -o -iname "*.ogg" -o -iname "*.mp3" > textfile.txt 

Hope this works!

Regards,

Antonio 
> 
> 2) find . -type f -name '*' | grep -iH
> '{.wav,.mp3,.ogg}'
>     But that won't work.
> 
> Please advise?
> 
> Thanks!
> Dan
> 
> -- 
> fedora-list mailing list
> fedora-list@xxxxxxxxxx
> To unsubscribe:
> https://www.redhat.com/mailman/listinfo/fedora-list


      

-- 
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list

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

  Powered by Linux