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]     [Older Fedora Users]     [Fedora Announce]     [Fedora Package Announce]     [EPEL Announce]     [Fedora Magazine]     [Fedora News]     [Fedora Summer Coding]     [Fedora Laptop]     [Fedora Cloud]     [Fedora Advisory Board]     [Fedora Education]     [Fedora Security]     [Fedora Scitech]     [Fedora Robotics]     [Fedora Maintainers]     [Fedora Infrastructure]     [Fedora Websites]     [Anaconda Devel]     [Fedora Devel Java]     [Fedora Legacy]     [Fedora Desktop]     [Fedora Fonts]     [ATA RAID]     [Fedora Marketing]     [Fedora Management Tools]     [Fedora Mentors]     [SSH]     [Fedora Package Review]     [Fedora R Devel]     [Fedora PHP Devel]     [Kickstart]     [Fedora Music]     [Fedora Packaging]     [Centos]     [Fedora SELinux]     [Fedora Legal]     [Fedora Kernel]     [Fedora OCaml]     [Coolkey]     [Virtualization Tools]     [ET Management Tools]     [Yum Users]     [Tux]     [Yosemite News]     [Gnome Users]     [KDE Users]     [Fedora Art]     [Fedora Docs]     [Asterisk PBX]     [Fedora Sparc]     [Fedora Universal Network Connector]     [Libvirt Users]     [Fedora ARM]

  Powered by Linux