file type/category search? - Printable Version +- Linux Lite Forums (https://www.freecinema2022.gq/forums) +-- Forum: Software - Support (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=5) +--- Forum: Other (https://www.freecinema2022.gq/forums/forumdisplay.php?fid=20) +--- Thread: file type/category search? (/showthread.php?tid=5723) |
file type/category search? - bigskill - 10-26-2018 Is there a search program or file manager that will search for file types/categories? IE: video files, audio files image files? Re: file type/category search? - bitsnpcs - 10-26-2018 Hello bigskill, I use Fsearch, if I type .mp3 it only finds mp3's, but if I type audio it finds anything of any type that has the word audio in its name, such as a folder for a software. Re: file type/category search? - bigskill - 10-26-2018 Not exactly what I mean. For example I wold like it to search for all audio files IE all mp3, flac, m3u,m4p, midi, ogg etc Or all video files or image files Not files with the audio in the name. Re: file type/category search? - bitsnpcs - 10-26-2018 This will find all the files with the extensions of .mp3 and .png, (as I don't have any music files other than .mp3 and I don't have any video files, so I used these extensions to test it works), just extend it as below to include whatever file types you want. Code: find . -type f \( -name "*.mp3" -o -name "*.png" \) the . after find will make it search in the current working directory, otherwise remove it for a wider search outside the current directory. Re: file type/category search? - firenice03 - 10-26-2018 (10-26-2018, 09:28 PM)bitsnpcs link Wrote: I found the command above ran without the \( .. \ ) Code: find . -type f -name "*.mp3" -o -name "*.png" You should be able to use locate as well.. Code: locate *.mkv *.webm *.flv *.vob *.ogg *.ogv *.drc *gifv *.mng *.avi$ *.mov Additional / variations *.mkv *.webm *.flv *.vob *.ogg *.ogv *.drc *gifv *.mng *.avi$ *.mov *.qt *.wmv *.yuv *.rm *.rmvb *.asf *.amv *.mp4$ *.m4v *.mp *.m?v *.svi *.3gp *.flv *.f4v |