<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0">
  <channel>
    <title>Snipplr</title>
    <description>Recent snippets posted on Snipplr.com</description>
    <link>https://snipplr.com/</link>
    <lastBuildDate>Tue, 09 Jun 2026 07:36:31 +0000</lastBuildDate>
    <item>
      <title>(Bash) Linux: Remote mount drive with - mattkenefick</title>
      <link>https://snipplr.com/view/13803/linux-remote-mount-drive-with</link>
      <description>&lt;p&gt;Very useful.&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 19:14:06 UTC</pubDate>
      <guid>https://snipplr.com/view/13803/linux-remote-mount-drive-with</guid>
    </item>
    <item>
      <title>(Bash) Linux: Find in Files - mattkenefick</title>
      <link>https://snipplr.com/view/13800/linux-find-in-files</link>
      <description>&lt;p&gt;find . | xargs grep 'string' -sl&#13;
&#13;
The -s is for summary and won't display warning messages such as grep: ./directory-name: Is a directory&#13;
&#13;
The -l is for list, so we get just the filename and not all instances of the match displayed in the results.&#13;
&#13;
Performing the search on the current directory I get:&#13;
&#13;
./javascript_open_new_window_form.php&#13;
./excel_large_number_error.php&#13;
./linux_vi_string_substitution.php&#13;
./email_reformat.php&#13;
./online_email_reformat.php&#13;
./excel_find_question_mark.php&#13;
./linux_find_string_in_files.php&#13;
./excel_keyboard_shortcuts.php&#13;
./linux_grep.php&#13;
./md5_unique_sub_string.php&#13;
./email_reformat_token.php&#13;
./excel_password_protect.php&#13;
./mysql_date_calulation.php&#13;
./md5_string.php&#13;
./php_javascript_passing_values_to_new_window_in_url.php&#13;
./php_math_on_string/math_on_string_form.php&#13;
./guide.php&#13;
./excel_large_number_paste.php&#13;
./piping_commands_find_grep_sed.php&#13;
./google-search-for-seo-research.php&#13;
./filename_conversion_form.php&#13;
./linux_find_string_files.php&#13;
&#13;
I find this useful for just quickly seeing which files contain a search time. I would normally limit the files searched with a command such as :&#13;
find . -iname '*php' | xargs grep 'string' -sl&#13;
&#13;
Another common search for me, is to just look at the recently updated files:&#13;
find . -iname '*php' -mtime -1 | xargs grep 'string' -sl&#13;
&#13;
would find only files edited today, whilst the following finds the files older than today:&#13;
find . -iname '*php' -mtime +1 | xargs grep 'string' -sl&lt;/p&gt;</description>
      <pubDate>Sun, 05 Apr 2009 18:18:49 UTC</pubDate>
      <guid>https://snipplr.com/view/13800/linux-find-in-files</guid>
    </item>
  </channel>
</rss>
