find https://notes.masterweb.sk/index.php/ sk find https://notes.masterweb.sk/index.php/linux-man/find <span class="field field--name-title field--type-string field--label-hidden">find</span> <span class="field field--name-uid field--type-entity-reference field--label-hidden"><span lang="" about="/index.php/user/1" typeof="schema:Person" property="schema:name" datatype="">ROOT</span></span> <span class="field field--name-created field--type-created field--label-hidden">Št, 08/29/2019 - 15:13</span> <div class="clearfix text-formatted field field--name-body field--type-text-with-summary field--label-hidden field__item"><p><a href="https://www.linode.com/docs/tools-reference/tools/find-files-in-linux-using-the-command-line/">https://www.linode.com/docs/tools-reference/tools/find-files-in-linux-using-the-command-line/</a></p> <pre> <code>find /home/username/ -name "*.err"</code></pre> <p>find and remove older than <a href="https://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/">https://www.howtogeek.com/howto/ubuntu/delete-files-older-than-x-days-on-linux/</a><br /> find /path/to/files* -mtime +5 -exec rm {} \;</p> <p>find . -name testfile.txt #Find a file called testfile.txt in current and sub-directories.</p> <p>find /home -name *.jpg #Find all .jpg files in the /home and sub-directories.</p> <p>find . -type f -empty #Find an empty file within the current directory.</p> <p>find /home -user exampleuser -mtime 7 -iname ".db" #Find all .db files (ignoring text case) modified in the last 7 days by a user named exampleuser.</p> <pre> <code>find /&lt;directory&gt; -newermt "-24 hours" -ls</code></pre> <pre> <code>find /&lt;directory&gt; -newermt "1 day ago" -ls</code> </pre> </div><div class="field field--name-field-tags field--type-entity-reference field--label-above clearfix"> <h3 class="field__label">Značky</h3> <ul class="links field__items"> <li><a href="/index.php/taxonomy/term/1" hreflang="sk">Linux</a></li> <li><a href="/index.php/taxonomy/term/33" hreflang="sk">find</a></li> </ul> </div> Thu, 29 Aug 2019 13:13:23 +0000ROOT69 at https://notes.masterweb.sk