<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
<title>Snipplr</title>
<link>http://snipplr.com/language/bash/tags/file</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sat, 11 Oct 2008 06:32:43 GMT</pubDate>
<item>
<title>(Bash) Alias a command and save it in .profile - noah</title>
<link>http://snipplr.com/view/7400/alias-a-command-and-save-it-in-profile/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Jul 2008 13:03:50 GMT</pubDate>
<guid>http://snipplr.com/view/7400/alias-a-command-and-save-it-in-profile/</guid>
</item>
<item>
<title>(Bash) tar basics - noah</title>
<link>http://snipplr.com/view/7399/tar-basics/</link>
<description><![CDATA[ <p>You would think I'd have this memorized by now, but no.</p> ]]></description>
<pubDate>Sat, 19 Jul 2008 12:29:59 GMT</pubDate>
<guid>http://snipplr.com/view/7399/tar-basics/</guid>
</item>
<item>
<title>(Bash) count htm/html files in the directory (recursive) - kyokutyo</title>
<link>http://snipplr.com/view/5573/count-htmhtml-files-in-the-directory-recursive/</link>
<description><![CDATA[ <p>count .htm or .html files in the directory.
use ls and grep command.</p> ]]></description>
<pubDate>Thu, 27 Mar 2008 04:52:40 GMT</pubDate>
<guid>http://snipplr.com/view/5573/count-htmhtml-files-in-the-directory-recursive/</guid>
</item>
<item>
<title>(Bash) Append Line to a File - engel</title>
<link>http://snipplr.com/view/4212/append-line-to-a-file/</link>
<description><![CDATA[ <p>Running this command will append a line with given values to a file you specify. Replace words between < and > with the values you desire.</p> ]]></description>
<pubDate>Wed, 28 Nov 2007 19:55:15 GMT</pubDate>
<guid>http://snipplr.com/view/4212/append-line-to-a-file/</guid>
</item>
<item>
<title>(Bash) How to remove files that are over 1 day old - wolfie</title>
<link>http://snipplr.com/view/3581/how-to-remove-files-that-are-over-1-day-old/</link>
<description><![CDATA[ <p>A one-liner to remove any temporary files modified over one day ago. Removes files from /tmp/
Run without the '-exec rm {} \;' part to check that it is matching the right set of files - this can be dangerous if run by root!
If you want to remove files modified today, change +1 to -1
This can be useful to add into crontab though</p> ]]></description>
<pubDate>Tue, 28 Aug 2007 05:18:49 GMT</pubDate>
<guid>http://snipplr.com/view/3581/how-to-remove-files-that-are-over-1-day-old/</guid>
</item>
<item>
<title>(Bash) Rename Multiple Files in Bash Using Regular Expressions - tylerhall</title>
<link>http://snipplr.com/view/2736/rename-multiple-files-in-bash-using-regular-expressions/</link>
<description><![CDATA[ <p>This small, bash script will loop though the specified files and rename them according to a sed regular expression. In this example, I'm renaming a bunch of .avi movie files.</p> ]]></description>
<pubDate>Sat, 26 May 2007 07:28:35 GMT</pubDate>
<guid>http://snipplr.com/view/2736/rename-multiple-files-in-bash-using-regular-expressions/</guid>
</item>
<item>
<title>(Bash) Format file listing - fugue</title>
<link>http://snipplr.com/view/2405/format-file-listing/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 29 Mar 2007 02:06:33 GMT</pubDate>
<guid>http://snipplr.com/view/2405/format-file-listing/</guid>
</item>
<item>
<title>(Bash) Find a string across multiple files with different extensions - noah</title>
<link>http://snipplr.com/view/2033/find-a-string-across-multiple-files-with-different-extensions/</link>
<description><![CDATA[ <p>Search many files for a string.  This example finds the string "thingy."  This is useful when I want to find, say, a CSS class name that has changed, and update it in all of my .js, .jsp and .jspf files.  

The -niP argument to grep is optional.  -n prints line numbers, -i makes search case-insensitive, and -P toggles Perl regular expression syntax.  (I'm not sure that -P works under Cygwin.)</p> ]]></description>
<pubDate>Sun, 28 Jan 2007 07:43:53 GMT</pubDate>
<guid>http://snipplr.com/view/2033/find-a-string-across-multiple-files-with-different-extensions/</guid>
</item>
<item>
<title>(Bash) Counting files in subdirs - Catfish</title>
<link>http://snipplr.com/view/1791/counting-files-in-subdirs/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 12 Dec 2006 08:19:04 GMT</pubDate>
<guid>http://snipplr.com/view/1791/counting-files-in-subdirs/</guid>
</item>
<item>
<title>(Bash) read filie - eriwst</title>
<link>http://snipplr.com/view/1423/read-filie/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 18 Oct 2006 03:32:30 GMT</pubDate>
<guid>http://snipplr.com/view/1423/read-filie/</guid>
</item>
<item>
<title>(Bash) Filesearch / Contentsearch in files - jacknirons</title>
<link>http://snipplr.com/view/1097/filesearch--contentsearch-in-files/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 20 Sep 2006 00:35:02 GMT</pubDate>
<guid>http://snipplr.com/view/1097/filesearch--contentsearch-in-files/</guid>
</item>
</channel>
</rss>