<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="cs">
	<id>https://wiki.jprodina.eu/index.php?action=history&amp;feed=atom&amp;title=Jak_naj%C3%ADt_soubory_obsahuj%C3%ADc%C3%AD_znakov%C3%BD_%C5%99et%C4%9Bzec</id>
	<title>Jak najít soubory obsahující znakový řetězec - Historie editací</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.jprodina.eu/index.php?action=history&amp;feed=atom&amp;title=Jak_naj%C3%ADt_soubory_obsahuj%C3%ADc%C3%AD_znakov%C3%BD_%C5%99et%C4%9Bzec"/>
	<link rel="alternate" type="text/html" href="https://wiki.jprodina.eu/index.php?title=Jak_naj%C3%ADt_soubory_obsahuj%C3%ADc%C3%AD_znakov%C3%BD_%C5%99et%C4%9Bzec&amp;action=history"/>
	<updated>2026-06-21T11:28:23Z</updated>
	<subtitle>Historie editací této stránky</subtitle>
	<generator>MediaWiki 1.34.0</generator>
	<entry>
		<id>https://wiki.jprodina.eu/index.php?title=Jak_naj%C3%ADt_soubory_obsahuj%C3%ADc%C3%AD_znakov%C3%BD_%C5%99et%C4%9Bzec&amp;diff=209&amp;oldid=prev</id>
		<title>Admin: Založena nová stránka s textem „Kategorie:Návody Našel jsem návod:  [http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-on-linux Finding all fil…“</title>
		<link rel="alternate" type="text/html" href="https://wiki.jprodina.eu/index.php?title=Jak_naj%C3%ADt_soubory_obsahuj%C3%ADc%C3%AD_znakov%C3%BD_%C5%99et%C4%9Bzec&amp;diff=209&amp;oldid=prev"/>
		<updated>2016-07-02T18:46:01Z</updated>

		<summary type="html">&lt;p&gt;Založena nová stránka s textem „&lt;a href=&quot;/index.php/Kategorie:N%C3%A1vody&quot; title=&quot;Kategorie:Návody&quot;&gt;Kategorie:Návody&lt;/a&gt; Našel jsem návod:  [http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-on-linux Finding all fil…“&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;[[Kategorie:Návody]]&lt;br /&gt;
Našel jsem návod:&lt;br /&gt;
&lt;br /&gt;
[http://stackoverflow.com/questions/16956810/finding-all-files-containing-a-text-string-on-linux Finding all files containing a text string on Linux]:&lt;br /&gt;
&lt;br /&gt;
Do the following:&lt;br /&gt;
 grep -rnw &amp;#039;directory&amp;#039; -e &amp;quot;pattern&amp;quot;&lt;br /&gt;
&lt;br /&gt;
&amp;lt;code&amp;gt;-r&amp;lt;/code&amp;gt; is recursive, -n is line number and -w stands match the whole word. Along with these, --exclude or --include parameter could be used for efficient searching. Something like below:&lt;br /&gt;
&lt;br /&gt;
 grep --include=\*.{c,h} -rnw &amp;#039;directory&amp;#039; -e &amp;quot;pattern&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This will only search through the files which have .c or .h extensions. Similarly a sample use of --exclude:&lt;br /&gt;
&lt;br /&gt;
 grep --exclude=*.o -rnw &amp;#039;directory&amp;#039; -e &amp;quot;pattern&amp;quot;&lt;br /&gt;
&lt;br /&gt;
Above will exclude searching all the files ending with .o extension. Just like exclude file it&amp;#039;s possible to exclude/include directories through --exclude-dir and --include-dir parameter, the following shows how to integrate --exclude-dir:&lt;br /&gt;
&lt;br /&gt;
 grep --exclude-dir={dir1,dir2,*.dst} -rnw &amp;#039;directory&amp;#039; -e &amp;quot;pattern&amp;quot;&lt;br /&gt;
&lt;br /&gt;
This works for me very well, to achieve almost the same purpose like yours.&lt;/div&gt;</summary>
		<author><name>Admin</name></author>
		
	</entry>
</feed>