<?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/loop</link>
<description>Recent snippets posted on Snipplr.com</description>
<language>en-us</language>
<pubDate>Sun, 19 May 2013 03:28:43 GMT</pubDate>
<item>
<title>(Bash) infinitive loop - thoaionline</title>
<link>http://snipplr.com/view/61118/infinitive-loop/</link>
<description><![CDATA[ <p>infinitive loop in bash, useful if you want to have a self-healing process</p> ]]></description>
<pubDate>Wed, 23 Nov 2011 16:59:01 GMT</pubDate>
<guid>http://snipplr.com/view/61118/infinitive-loop/</guid>
</item>
<item>
<title>(Bash) Bash for loop - miceno</title>
<link>http://snipplr.com/view/46804/bash-for-loop/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 09 Jan 2011 05:31:22 GMT</pubDate>
<guid>http://snipplr.com/view/46804/bash-for-loop/</guid>
</item>
<item>
<title>(Bash) Bash looping - vorp</title>
<link>http://snipplr.com/view/36487/bash-looping/</link>
<description><![CDATA[ <p>Basic bash loop structure</p> ]]></description>
<pubDate>Wed, 30 Jun 2010 03:36:20 GMT</pubDate>
<guid>http://snipplr.com/view/36487/bash-looping/</guid>
</item>
<item>
<title>(Bash) Bash (Command Line): Loop through directories in specified location, replacing directories in current directory (with backup) - karlhorky</title>
<link>http://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup/</link>
<description><![CDATA[ <p>This command line aims at moving directories from a target location to the present working directory (pwd), backing the pwd directories up as it encounters them.

The script works by:

1. Iterating through the contents of the target directory (using the unix ls command)

2. Checking whether the current object is a directory

3. Moving the pwd directory to a backup location using the unix mv command

4. Moving the target location's directory to the present working directory

5. Printing out the modified directory's name using the unix echo command</p> ]]></description>
<pubDate>Sun, 23 May 2010 15:24:10 GMT</pubDate>
<guid>http://snipplr.com/view/35126/bash-command-line-loop-through-directories-in-specified-location-replacing-directories-in-current-directory-with-backup/</guid>
</item>
<item>
<title>(Bash) Loop through range of numbers sequence - ramisedhom</title>
<link>http://snipplr.com/view/24956/loop-through-range-of-numbers-sequence/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 17 Dec 2009 11:22:49 GMT</pubDate>
<guid>http://snipplr.com/view/24956/loop-through-range-of-numbers-sequence/</guid>
</item>
<item>
<title>(Bash) Loop through Array in Bash - webonomic</title>
<link>http://snipplr.com/view/24230/loop-through-array-in-bash/</link>
<description><![CDATA[ <p>This creates an array of various linux shell names, loops through the array and ouputs a file called shell_locations.txt showing where the shells are located on the linux system.</p> ]]></description>
<pubDate>Thu, 03 Dec 2009 20:45:39 GMT</pubDate>
<guid>http://snipplr.com/view/24230/loop-through-array-in-bash/</guid>
</item>
<item>
<title>(Bash) insert backed up dumps from mysql - 1b0t</title>
<link>http://snipplr.com/view/20235/insert-backed-up-dumps-from-mysql/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Thu, 24 Sep 2009 18:37:16 GMT</pubDate>
<guid>http://snipplr.com/view/20235/insert-backed-up-dumps-from-mysql/</guid>
</item>
<item>
<title>(Bash) Iterate through years and months - mahome</title>
<link>http://snipplr.com/view/13843/iterate-through-years-and-months/</link>
<description><![CDATA[ <p>This script gives a list of year month combinations from 2006 to 2010.
Also have a look at [cal](http://en.wikipedia.org/wiki/Cal_(Unix)), if you are doing something with dates.

Tags: seq, year, month, bash, loop, for</p> ]]></description>
<pubDate>Tue, 07 Apr 2009 03:21:37 GMT</pubDate>
<guid>http://snipplr.com/view/13843/iterate-through-years-and-months/</guid>
</item>
<item>
<title>(Bash) How to loop through filenames with spaces in Bash - aadsm</title>
<link>http://snipplr.com/view/11282/how-to-loop-through-filenames-with-spaces-in-bash/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Sun, 18 Jan 2009 07:12:09 GMT</pubDate>
<guid>http://snipplr.com/view/11282/how-to-loop-through-filenames-with-spaces-in-bash/</guid>
</item>
<item>
<title>(Bash) Alias for mounting loop devices - Juanje</title>
<link>http://snipplr.com/view/6214/alias-for-mounting-loop-devices/</link>
<description><![CDATA[ <p></p> ]]></description>
<pubDate>Wed, 14 May 2008 01:55:42 GMT</pubDate>
<guid>http://snipplr.com/view/6214/alias-for-mounting-loop-devices/</guid>
</item>
</channel>
</rss>