<?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/popular/language/bash</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Wed, 22 May 2013 03:31:20 GMT</pubDate>
<item>
<title>(Bash) Compare Directories Using Diff - tylerhall</title>
<link>http://snipplr.com/view/2445/compare-directories-using-diff/</link>
<description><![CDATA[ <p>This command compares two directories and shows you any files that differ between the two. It also shows how to exclude unimportant files like .DS_Store and Thumbs.</p> ]]></description>
<pubDate>Tue, 10 Apr 2007 11:06:10 GMT</pubDate>
<guid>http://snipplr.com/view/2445/compare-directories-using-diff/</guid>
</item>
<item>
<title>(Bash) Find Large Files - SunnyJim</title>
<link>http://snipplr.com/view/1538/find-large-files/</link>
<description><![CDATA[ <p>This command will list every file under /my/directory larger than 250kB and sort it largest to smallest.</p> ]]></description>
<pubDate>Sat, 04 Nov 2006 14:09:20 GMT</pubDate>
<guid>http://snipplr.com/view/1538/find-large-files/</guid>
</item>
<item>
<title>(Bash) Backup a remote MySQL database to your local hard disk - hyperwhat</title>
<link>http://snipplr.com/view/3863/backup-a-remote-mysql-database-to-your-local-hard-disk/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Tue, 09 Oct 2007 00:41:54 GMT</pubDate>
<guid>http://snipplr.com/view/3863/backup-a-remote-mysql-database-to-your-local-hard-disk/</guid>
</item>
<item>
<title>(Bash) Create a .tar.gz archive using Terminal OS X - chrisaiv</title>
<link>http://snipplr.com/view/7144/create-a-targz-archive-using-terminal-os-x/</link>
<description><![CDATA[ <p>This command will allow you to make a tar ball with gzip compression:
-c = Create
-v = Verbosely list files processed
-z = Filter the archive through gzip
-p = Preserve Permissions ( extract all protection information)
-f  = Use archive file or device F</p> ]]></description>
<pubDate>Sat, 05 Jul 2008 18:45:35 GMT</pubDate>
<guid>http://snipplr.com/view/7144/create-a-targz-archive-using-terminal-os-x/</guid>
</item>
<item>
<title>(Bash) Using wget or curl to download web sites for archival - rwczippy</title>
<link>http://snipplr.com/view/8841/using-wget-or-curl-to-download-web-sites-for-archival/</link>
<description><![CDATA[ <p>This will start at the specified URL and recursively download pages up to 3 links away from the original page, but only pages which are in the directory of the URL you specified (emacstips/) or one of its subdirectories.

wget will also rewrite the links in the pages it downloaded to make your downloaded copy a useful local copy, and it will download all page prerequisites (e.g. images, stylesheets, and the like).

The last two options -nH --cut-dirs=1 control where wget places the output. If you omitted those two options, wget would, for example, download http://web.psung.name/emacstips/index.html and place it under a subdirectory web.psung.name/emacstips of the current directory. With only -nH ("no host directory") wget would write that same file to a subdirectory emacstips. And with both options wget would write that same file to the current directory. In general, if you want to reduce the number of extraneous directories created, change cut-dirs to be the number of leading directories in your URL.</p> ]]></description>
<pubDate>Sat, 04 Oct 2008 20:24:43 GMT</pubDate>
<guid>http://snipplr.com/view/8841/using-wget-or-curl-to-download-web-sites-for-archival/</guid>
</item>
<item>
<title>(Bash) BASH template - binarynomad</title>
<link>http://snipplr.com/view/3901/bash-template/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Mon, 15 Oct 2007 20:34:06 GMT</pubDate>
<guid>http://snipplr.com/view/3901/bash-template/</guid>
</item>
<item>
<title>(Bash) Eject CD From OS X Command Line - tylerhall</title>
<link>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</link>
<description><![CDATA[ <p>This command ejects a CD or DVD from the command line.</p> ]]></description>
<pubDate>Wed, 27 Jun 2007 15:31:19 GMT</pubDate>
<guid>http://snipplr.com/view/3059/eject-cd-from-os-x-command-line/</guid>
</item>
<item>
<title>(Bash) How to create patches using diff - basicmagic</title>
<link>http://snipplr.com/view/1935/how-to-create-patches-using-diff/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 05 Jan 2007 03:56:34 GMT</pubDate>
<guid>http://snipplr.com/view/1935/how-to-create-patches-using-diff/</guid>
</item>
<item>
<title>(Bash) The Top Ten Unix Shell Commands You Use - zingo</title>
<link>http://snipplr.com/view/3254/the-top-ten-unix-shell-commands-you-use/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 08 Jul 2007 19:24:31 GMT</pubDate>
<guid>http://snipplr.com/view/3254/the-top-ten-unix-shell-commands-you-use/</guid>
</item>
<item>
<title>(Bash) Twitter from the command line using curl - gtcaz</title>
<link>http://snipplr.com/view/2352/twitter-from-the-command-line-using-curl/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 18 Mar 2007 11:06:02 GMT</pubDate>
<guid>http://snipplr.com/view/2352/twitter-from-the-command-line-using-curl/</guid>
</item>
<item>
<title>(Bash) Copy A Directory From A Remote Server - micmath</title>
<link>http://snipplr.com/view/1397/copy-a-directory-from-a-remote-server/</link>
<description><![CDATA[ <p>Use on a command line to copy a whole directory on a remote server down to your computer. Requires SSH access to remote server.</p> ]]></description>
<pubDate>Thu, 12 Oct 2006 07:59:09 GMT</pubDate>
<guid>http://snipplr.com/view/1397/copy-a-directory-from-a-remote-server/</guid>
</item>
<item>
<title>(Bash) Send an email by command line - yuconner</title>
<link>http://snipplr.com/view/949/send-an-email-by-command-line/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Fri, 25 Aug 2006 17:37:35 GMT</pubDate>
<guid>http://snipplr.com/view/949/send-an-email-by-command-line/</guid>
</item>
<item>
<title>(Bash) Another way to write bash menu script - jaduks</title>
<link>http://snipplr.com/view/10620/another-way-to-write-bash-menu-script/</link>
<description><![CDATA[ <p>Another way of writing a continuous bash menu.</p> ]]></description>
<pubDate>Sun, 21 Dec 2008 20:57:48 GMT</pubDate>
<guid>http://snipplr.com/view/10620/another-way-to-write-bash-menu-script/</guid>
</item>
<item>
<title>(Bash) Dynamic BASH Prompt - robh</title>
<link>http://snipplr.com/view/4651/dynamic-bash-prompt/</link>
<description><![CDATA[ <p>A very dynamic and flexible bash prompt. Personally I find this to have everything needed. It shows exit status, shortens itself for long directories, and shows bash history for easy referencing.

Hopefully it doesn't get messed up.</p> ]]></description>
<pubDate>Fri, 18 Jan 2008 19:40:17 GMT</pubDate>
<guid>http://snipplr.com/view/4651/dynamic-bash-prompt/</guid>
</item>
<item>
<title>(Bash) Set up public private keys for ssh - micmath</title>
<link>http://snipplr.com/view/4073/set-up-public-private-keys-for-ssh/</link>
<description><![CDATA[ <p>So you don't have to type the password everytime you log in to that remote ssh server. Don't enter a passphrase when prompted, just hit enter. This example is for Mac OS X but is likely to work on *nix plats too.</p> ]]></description>
<pubDate>Tue, 06 Nov 2007 04:53:53 GMT</pubDate>
<guid>http://snipplr.com/view/4073/set-up-public-private-keys-for-ssh/</guid>
</item>
<item>
<title>(Bash) SSH tunnel to local port - zachwood</title>
<link>http://snipplr.com/view/11155/ssh-tunnel-to-local-port/</link>
<description><![CDATA[ <p>To connect to your database remotely, tunnel in via SSH.

This creates an encrypted tunnel to your Slice’s mySQL port (3306) on your local port of 8888. Point your local admin/GUI app to localhost:8888. If this does not work, and you are running OS X with CocoaMySQL try pointing it to 0.0.0.0:8888 instead.</p> ]]></description>
<pubDate>Tue, 13 Jan 2009 23:31:20 GMT</pubDate>
<guid>http://snipplr.com/view/11155/ssh-tunnel-to-local-port/</guid>
</item>
<item>
<title>(Bash) ImageMagick: Convert PDF to Images - webonomic</title>
<link>http://snipplr.com/view/10361/imagemagick-convert-pdf-to-images/</link>
<description><![CDATA[ <p>If you don't have Adobe Acrobat Pro to export a PDF to multiple images, you can use this ImageMagick code.

This command will produce the files 'result-0.jpg' , 'result-1.jpg', etc... for each PDF page.</p> ]]></description>
<pubDate>Tue, 09 Dec 2008 12:54:25 GMT</pubDate>
<guid>http://snipplr.com/view/10361/imagemagick-convert-pdf-to-images/</guid>
</item>
<item>
<title>(Bash) bash scraps - dvdrtrgn</title>
<link>http://snipplr.com/view/10168/bash-scraps/</link>
<description><![CDATA[ <p>little memory joggers</p> ]]></description>
<pubDate>Sun, 30 Nov 2008 18:46:23 GMT</pubDate>
<guid>http://snipplr.com/view/10168/bash-scraps/</guid>
</item>
<item>
<title>(Bash) Send Email Attachment from the Command Line - tylerhall</title>
<link>http://snipplr.com/view/5919/send-email-attachment-from-the-command-line/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sat, 19 Apr 2008 16:10:45 GMT</pubDate>
<guid>http://snipplr.com/view/5919/send-email-attachment-from-the-command-line/</guid>
</item>
<item>
<title>(Bash) SVN Add Recursively - tylerhall</title>
<link>http://snipplr.com/view/5745/svn-add-recursively/</link>
<description><![CDATA[ <p>This adds all new files to SVN recursively. It doesn't work for files that have spaces in their name, but why would you create a file with a space in its name in the first place?</p> ]]></description>
<pubDate>Tue, 08 Apr 2008 02:54:09 GMT</pubDate>
<guid>http://snipplr.com/view/5745/svn-add-recursively/</guid>
</item>
<item>
<title>(Bash) Remove .SVN files from a directory structure - wfdev</title>
<link>http://snipplr.com/view/5658/remove-svn-files-from-a-directory-structure/</link>
<description><![CDATA[ <p>Quick command I use to remove .SVN folders from a tree structure copied from SVN working copy. Sometimes a bit easier than running an export.</p> ]]></description>
<pubDate>Wed, 02 Apr 2008 10:24:26 GMT</pubDate>
<guid>http://snipplr.com/view/5658/remove-svn-files-from-a-directory-structure/</guid>
</item>
<item>
<title>(Bash) sync a file or dir to remote location - mandric</title>
<link>http://snipplr.com/view/4436/sync-a-file-or-dir-to-remote-location/</link>
<description><![CDATA[ <p>The -P handles partial transfers, I'm using this for big audio/video files.</p> ]]></description>
<pubDate>Sun, 30 Dec 2007 23:39:47 GMT</pubDate>
<guid>http://snipplr.com/view/4436/sync-a-file-or-dir-to-remote-location/</guid>
</item>
<item>
<title>(Bash) batch rename files - benpjohnson</title>
<link>http://snipplr.com/view/3679/batch-rename-files/</link>
<description><![CDATA[ <p>Manipulate the names of all the files in a folder in bash</p> ]]></description>
<pubDate>Thu, 13 Sep 2007 06:45:03 GMT</pubDate>
<guid>http://snipplr.com/view/3679/batch-rename-files/</guid>
</item>
<item>
<title>(Bash) Display svn changelog on "svn up" - zingo</title>
<link>http://snipplr.com/view/2921/display-svn-changelog-on-svn-up/</link>
<description><![CDATA[ <p>updates (svn up) a working copy and displays the changes</p> ]]></description>
<pubDate>Sun, 17 Jun 2007 16:43:03 GMT</pubDate>
<guid>http://snipplr.com/view/2921/display-svn-changelog-on-svn-up/</guid>
</item>
<item>
<title>(Bash) wget with username and password - noah</title>
<link>http://snipplr.com/view/2687/wget-with-username-and-password/</link>
<description><![CDATA[ <p>This is how to connect to a secure site with wget.  The Cygwin manpage is quite confusing on this issue.</p> ]]></description>
<pubDate>Tue, 22 May 2007 11:08:00 GMT</pubDate>
<guid>http://snipplr.com/view/2687/wget-with-username-and-password/</guid>
</item>
</channel>
</rss>