var sidebar_align = 'right';
var content_container_margin = parseInt('350px');
var sidebar_width = parseInt('330px');
Need Help for Find command
i need to search on my server all the files with extension *.iso *.mp3 *.nrg
i am doing it with
find -name *.iso
find -name *.mp3
find -name *.nrg
but it take a lot of time bcs the server need to do 3 search, is there any way to do it with one search?
example: find -name *.iso *.mp3 *.nrg ?
Ps i can't use locate
I would have thought that wouldn't work anyway - your shell will expand the wildcard. You probably want to do instead. (note: this may not be correct depending on your find command, I am assuming you are using the GNU version found on most Linux setups)
A quick scan of the man page (type "man find" at the command prompt) suggests that
would do the trick.
find -name '*.iso' -name ' -o *.mp3' -o -name '*.nrg'
Originally Posted by dspillettt
find / -name "*.iso" -o -name "*.mp3" -o -name "*.nrg"
Save the output:
find / -name "*.iso" -o -name "*.mp3" -o -name "*.nrg" >> warez.txt