<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Techie Gyaaan &#187; Linux</title>
	<atom:link href="http://techie.gyaaan.com/category/linux/feed/" rel="self" type="application/rss+xml" />
	<link>http://techie.gyaaan.com</link>
	<description>Just another WordPress weblog</description>
	<lastBuildDate>Fri, 15 May 2009 15:19:40 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.0.1</generator>
		<item>
		<title>How to use the screen command</title>
		<link>http://techie.gyaaan.com/how-to-use-the-screen-command/</link>
		<comments>http://techie.gyaaan.com/how-to-use-the-screen-command/#comments</comments>
		<pubDate>Thu, 19 Feb 2009 15:31:07 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Attach]]></category>
		<category><![CDATA[Detach]]></category>
		<category><![CDATA[Screen]]></category>

		<guid isPermaLink="false">http://techie.gyaaan.com/?p=83</guid>
		<description><![CDATA[To start a new sub session (Virtual Session) type ((ctrl+a) c) To switch between sessions&#8230; ((ctrl+a) ) To switch between your previous session and the current one.. ((ctrl+a) a) To kill a frozen session&#8230; ((ctrl+a) k) To see a list of available commands&#8230; ((ctrl+a) ?) To see a list of virtual terminals you have open.. [...]]]></description>
			<content:encoded><![CDATA[<ul>
<li>
To start a new sub session (Virtual Session) type<br />
<blockquote>((ctrl+a) c)</p></blockquote>
</li>
<li>To switch between sessions&#8230;<br />
<blockquote>((ctrl+a) <space bar>)</p></blockquote>
</li>
<li>To switch between your previous session and the current one..<br />
<blockquote>((ctrl+a) a)</p></blockquote>
</li>
<li>To kill a frozen session&#8230;<br />
<blockquote>((ctrl+a) k)</p></blockquote>
</li>
<li>To see a list of available commands&#8230;<br />
<blockquote>((ctrl+a) ?)</p></blockquote>
</li>
<li>To see a list of virtual terminals you have open..<br />
<blockquote>((ctrl+a) &#8220;)</p></blockquote>
</li>
<li>To Detach from a screen session and not lose any of your virtual terminals&#8230;<br />
<blockquote>((ctrl+a) d)</p></blockquote>
</blockquote>
</li>
<li>To view  current screen sessions once you are logged out of screen.. &#8220;screen -list&#8221;</li>
<li>To reattach to an Attached session (Session that was not detached properly) &#8220;screen -D -r <11546.pts-5.hostname>&#8221; (session name from the output of the screen -list command)</li>
<li>To reattach to a detached session.. &#8220;screen -r <11546.pts-5.hostname>&#8221; (session name from the output of the screen -list command)</li>
<li>To end that session you can either type &#8220;exit&#8221; or a<br />
<blockquote>(ctrl+d)</p></blockquote>
</li>
</ul>
]]></content:encoded>
			<wfw:commentRss>http://techie.gyaaan.com/how-to-use-the-screen-command/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Shell script to backup MySql database</title>
		<link>http://techie.gyaaan.com/shell-script-to-backup-mysql-database/</link>
		<comments>http://techie.gyaaan.com/shell-script-to-backup-mysql-database/#comments</comments>
		<pubDate>Fri, 15 Feb 2008 10:40:35 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Shell]]></category>
		<category><![CDATA[Backup]]></category>
		<category><![CDATA[Database]]></category>
		<category><![CDATA[MySQL]]></category>
		<category><![CDATA[Shell Script]]></category>

		<guid isPermaLink="false">http://techie.gyaaan.com/?p=34</guid>
		<description><![CDATA[#!/bin/bash # Shell script to backup MySql database # To backup Nysql databases file to /backup dir and later pick up by your # script. You can skip few databases from backup too. # For more info please see (Installation info): # http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html # Last updated: Aug &#8211; 2005 # &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211; # This is a [...]]]></description>
			<content:encoded><![CDATA[<blockquote><p>#!/bin/bash<br />
# Shell script to backup MySql database<br />
# To backup Nysql databases file to /backup dir and later pick up by your<br />
# script. You can skip few databases from backup too.<br />
# For more info please see (Installation info):<br />
# http://www.cyberciti.biz/nixcraft/vivek/blogger/2005/01/mysql-backup-script.html<br />
# Last updated: Aug &#8211; 2005<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8211;<br />
# This is a free shell script under GNU GPL version 2.0 or above<br />
# Copyright (C) 2004, 2005 nixCraft project<br />
# Feedback/comment/suggestions : http://cyberciti.biz/fb/<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-<br />
# This script is part of nixCraft shell script collection (NSSC)<br />
# Visit http://bash.cyberciti.biz/ for more information.<br />
# &#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-</p>
<p>MyUSER=&#8221;SET-MYSQL-USER-NAME&#8221;     # USERNAME<br />
MyPASS=&#8221;SET-PASSWORD&#8221;       # PASSWORD<br />
MyHOST=&#8221;localhost&#8221;          # Hostname</p>
<p># Linux bin paths, change this if it can&#8217;t be autodetected via which command<br />
MYSQL=&#8221;$(which mysql)&#8221;<br />
MYSQLDUMP=&#8221;$(which mysqldump)&#8221;<br />
CHOWN=&#8221;$(which chown)&#8221;<br />
CHMOD=&#8221;$(which chmod)&#8221;<br />
GZIP=&#8221;$(which gzip)&#8221;</p>
<p># Backup Dest directory, change this if you have someother location<br />
DEST=&#8221;/backup&#8221;</p>
<p># Main directory where backup will be stored<br />
MBD=&#8221;$DEST/mysql&#8221;</p>
<p># Get hostname<br />
HOST=&#8221;$(hostname)&#8221;</p>
<p># Get data in dd-mm-yyyy format<br />
NOW=&#8221;$(date +&#8221;%d-%m-%Y&#8221;)&#8221;</p>
<p># File to store current backup file<br />
FILE=&#8221;"<br />
# Store list of databases<br />
DBS=&#8221;"</p>
<p># DO NOT BACKUP these databases<br />
IGGY=&#8221;test&#8221;</p>
<p>[ ! -d $MBD ] &#038;&#038; mkdir -p $MBD || :</p>
<p># Only root can access it!<br />
$CHOWN 0.0 -R $DEST<br />
$CHMOD 0600 $DEST</p>
<p># Get all database list first<br />
DBS=&#8221;$($MYSQL -u $MyUSER -h $MyHOST -p$MyPASS -Bse &#8216;show databases&#8217;)&#8221;</p>
<p>for db in $DBS<br />
do<br />
    skipdb=-1<br />
    if [ "$IGGY" != "" ];<br />
    then<br />
	for i in $IGGY<br />
	do<br />
	    [ "$db" == "$i" ] &#038;&#038; skipdb=1 || :<br />
	done<br />
    fi</p>
<p>    if [ "$skipdb" == "-1" ] ; then<br />
	FILE=&#8221;$MBD/$db.$HOST.$NOW.gz&#8221;<br />
	# do all inone job in pipe,<br />
	# connect to mysql using mysqldump for select mysql database<br />
	# and pipe it out to gz file in backup dir <img src='http://techie.gyaaan.com/wp-includes/images/smilies/icon_smile.gif' alt=':)' class='wp-smiley' /><br />
        $MYSQLDUMP -u $MyUSER -h $MyHOST -p$MyPASS $db | $GZIP -9 > $FILE<br />
    fi<br />
done</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techie.gyaaan.com/shell-script-to-backup-mysql-database/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
		<item>
		<title>Change extension of Multiple files at once in UNIX</title>
		<link>http://techie.gyaaan.com/change-extension-of-multiple-files-at-once-in-unix/</link>
		<comments>http://techie.gyaaan.com/change-extension-of-multiple-files-at-once-in-unix/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 18:59:30 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Extensions]]></category>
		<category><![CDATA[MV]]></category>
		<category><![CDATA[Rename]]></category>
		<category><![CDATA[UNIX]]></category>

		<guid isPermaLink="false">http://techie.gyaaan.com/?p=5</guid>
		<description><![CDATA[How do I rename files using wildcards ala the DOS &#8220;REN&#8221; command? Question: I have a bunch of files with the extension &#8220;txt&#8221; that I would like to rename with the extension &#8220;sgl&#8221;. In DOS you would use the following command: REN *.txt *.sgl But the Unix command I&#8217;ve been told to use for renaming [...]]]></description>
			<content:encoded><![CDATA[<p><strong> How do I rename files using wildcards ala the DOS &#8220;REN&#8221; command?</strong></p>
<p><strong>Question:</strong></p>
<p>I have a bunch of files with the extension &#8220;txt&#8221; that I would like to rename with the extension &#8220;sgl&#8221;. In DOS you would use the following command:</p>
<p>                  REN *.txt *.sgl</p>
<p>But the Unix command I&#8217;ve been told to use for renaming files, the &#8220;mv&#8221; command, seems to get weird on wildcards and doesn&#8217;t work. That is&#8230;</p>
<p>                  mv *.txt *.sgl</p>
<p>&#8230;does not work the way the REN command does under DOS.</p>
<p><strong>Answer:</strong></p>
<p>Unix commands for the most part work very differently than DOS or VMS commands. The underlying operating systems themselves are totally different (Unix being much more capable and powerful than DOS by a long shot, and much more flexible than VMS). Many DOS and VMS users new to Unix fall into the same trap with wildcards.</p>
<p>The answer given here is a summary of about four chapters of a &#8220;how to use Unix&#8221; book. There are a lot of powerful features of Unix shells and commands that I will mention. When trying to learn a new operating system, you really need to expect to spend some time reading some books and the documentation for commands to pick things up. This is just as true for when you learned DOS, so I hope you aren&#8217;t upset about this statement. A good &#8220;how to&#8221; book to read is:</p>
<p><strong>Student&#8217;s Guide to Unix, Harley Hahn (McGraw-Hill, 1990, ISBN 0-07-025511-3)</strong></p>
<p>Briefly, the DOS shell is pretty much brain dead and limited to a puny 124 character command line (or something like that), so all DOS commands must do their own wildcard processing. The DOS shell (COMMAND.COM) doesn&#8217;t even know what a wildcard character is. This means that when the REN command sees the two strings &#8220;*.txt&#8221; and &#8220;*.sgl&#8221;, it is coded to know this means &#8220;find all files that end with the extension .TXT and rename them so the extension is now .SGL&#8221;. This is specific to the REN command (other commands may behave differently, or not accept wildcards at all, like MORE I believe). If you don&#8217;t like the &#8220;brain dead&#8221; label, try doing this wildcard in some DOS commands and see what you get: *a.txt (most commands don&#8217;t even see the &#8220;a&#8221; and just think you mean *.txt&#8211;two very different sets of files).</p>
<p>In Unix, the shell command line length is much longer (usually more than 4096 characters) and shells have the concept of &#8220;wildcards&#8221; that really mean &#8220;find any characters that match, expand them into the command line, then try parsing the command line again.&#8221; Once file names are expanded, the shell passes the entire command line to the program you wish to run. The man pages for commands tell what they accept.</p>
<p>If you check the man page for &#8220;mv&#8221; (which you should whenever you want to learn what arguments and options a given command accepts, and how it will deal with them) you will see:</p>
<blockquote><p>
  Name<br />
    mv &#8211; move or rename files<br />
  Syntax<br />
    mv [-i] [-f] [-] file1 file2<br />
    mv [-i] [-f] [-] file&#8230; directory</p></blockquote>
<p>Description The mv command moves (changes the name of) file1 to file2.</p>
<p>If file2 already exists, it is removed before file1 is moved. If file2 has a mode which forbids writing, mv prints the mode and reads the standard input to obtain a line. If the line begins with y, the move takes place. If it does not, mv exits. For further information, see chmod(2).</p>
<p>In the second form, one or more files (plain files or directories) are moved to the directory with their original file-names.</p>
<p>Given the (admittedly brief) description of how the shell interprets wildcards, what you have told the shell is to expand file names in the current working directory that match the names &#8220;*.txt&#8221; and &#8220;*.sgl&#8221;. You either will or won&#8217;t have any files named &#8220;*.sgl&#8221;, and the last one may or may not be a directory. If there are no such files, you have told &#8220;mv&#8221; to move all the files with names that end with &#8220;.txt&#8221; into a non-existent directory named &#8220;*.sgl&#8221;, which will fail because there isn&#8217;t a directory. If there was a file that ended with &#8220;.sgl&#8221;, then you are telling &#8220;mv&#8221; to move a list of files to the directory whose name is the last file named &#8220;.sgl&#8221;, which will also fail because it isn&#8217;t a directory. That&#8217;s the long story.</p>
<p>So there must be something more to it, right?</p>
<p>Yes. Since &#8220;mv&#8221; wants you to give two names&#8211;the name of the file to rename, and the new name you want it to have&#8211;you will need to execute the &#8220;mv&#8221; command once for each file. &#8220;What a pain in the &#8230;&#8221; you say. Well, Unix shells have much more powerful iterative commands than do DOS or VMS, so all you need to know is that if you use the C shell (which is most likely your login shell, unless you&#8217;ve changed it) you can use the &#8220;foreach&#8221; command. &#8220;How does &#8216;foreach&#8217; work?&#8221; you say. The short answer is:</p>
<blockquote><p>% foreach file (*.txt) > echo $file > end 1.txt 2.txt 3.txt</p></blockquote>
<p>(Note: this example shows what you type at the command line, but I don&#8217;t show the carriage returns at the end of each line; just the prompts &#8220;%&#8221; and &#8220;>&#8221;. Type the &#8220;foreach &#8230;&#8221; and &#8220;echo &#8230;&#8221; stuff at the command line, and if you have files named &#8220;1.txt 2.txt 3.txt&#8221; you will see the same thing I show above.)</p>
<p>Is there another command that one would use to do a multiple-file renaming under Unix, or am I doing something wrong?</p>
<p>There is one more step. You need to remove the &#8220;.txt&#8221; extension and insert the &#8220;.sgl&#8221; extension in the &#8220;mv&#8221; command. This is done with another powerful feature of Unix shells, called &#8220;in-line command substitution&#8221;. The command to strip off file extensions is &#8220;basename&#8221; (see &#8220;man basename&#8221;). To do in-line command substitution, use the &#8220;back-tick&#8221; character; the single quote that leans to the left: `</p>
<p>Use &#8220;echo&#8221; to see how this works:</p>
<blockquote><p>
   % echo *.txt<br />
   1.txt 2.txt 3.txt                <== see the files named ".txt"<br />
   % echo `basename 1.txt .txt`<br />
   1                                <== the ".txt" is stripped off<br />
   % ls *.sgl<br />
   No match                         <== there are no ".sgl" files<br />
   % mv 1.txt `basename 1.txt .txt`.sgl<br />
   % ls *.sgl<br />
   1.sgl                            <== now there is
</p></blockquote>
<p>The command sequence is then:</p>
<blockquote><p>
   % foreach file (*.txt)<br />
   > mv $file `basename $file .txt`.sgl<br />
   > end</p></blockquote>
<p>Don&#8217;t put any spaces between the last back-tick and the &#8220;.sgl&#8221;, since a space would mean you wanted to rename everything into the directory &#8220;.sgl&#8221;, which probably doesn&#8217;t exist.</p>
<p>This may look kind of complicated, but it is really pretty simple. Instead of just removing the &#8220;.txt&#8221;, I could have taken all files with names like &#8220;foo1234-bar.txt&#8221; and changed them to be &#8220;BAR.1234-foo.sgl&#8221; by matching on the letters, numbers, and dashes. Let&#8217;s see DOS do that!</p>
<p><strong>Batch File Rename By File Extension in Unix</strong></p>
<p>These are one-liners which batch rename files meeting a certain criteria under unix</p>
<p>These are very powerful command line tools. They have been used on FreeBSD, Linux, and MacOSX with success. But as with any batch file changing, you are advised to use them with caution. Backups are your friend!</p>
<blockquote><p>   # change .htm files to .html<br />
   for file in *.htm ; do mv $file `echo $file | sed &#8216;s/\(.*\.\)htm/\1html/&#8217;` ; done</p>
<p>   # change .html files to .htm<br />
   for file in *.html ; do mv $file `echo $file | sed &#8216;s/\(.*\.\)html/\1htm/&#8217;` ; done</p>
<p>   #change .html files to .shtml<br />
   for file in *.html ; do mv $file `echo $file | sed &#8216;s/\(.*\.\)html/\1shtml/&#8217;` ; done</p>
<p>   #change .html files to php<br />
   for file in *.html ; do mv $file `echo $file | sed &#8216;s/\(.*\.\)html/\1php/&#8217;` ; done
</p></blockquote>
<p>I have Mac OS X, and I need to rename a directory with files like:</p>
<blockquote><p>   [itoph:Coda] toph% ls -l<br />
   total 59576<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  4140123 Apr 18 09:43 Bonzo&#8217;s Montruex<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  4914598 Apr 18 09:43 Darlene<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  4131343 Apr 18 09:43 I Can&#8217;t Quit You Babe<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  2260992 Apr 18 09:43 Ozone Baby<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  2917166 Apr 18 09:43 Poor Tom<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  4331548 Apr 18 09:43 Walter&#8217;s Walk<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  2521786 Apr 18 09:43 We&#8217;re Gonna Grove<br />
   -rw-r&#8211;r&#8211;  1 toph  staff  5264433 Apr 18 09:43 Wearing and Tearing
</p></blockquote>
<p>Based on your page I&#8217;ve got this:</p>
<blockquote><p>   [itoph:Coda] toph% more test.sh<br />
   for i in * ; do<br />
   echo mv \&#8217;$i\&#8217; \&#8217;$i.mp3\&#8217;<br />
   done
</p></blockquote>
<p>That doesn&#8217;t work because of the &#8216;s in the file names. If I leave out the \&#8217;s in the shell script the spaces in the file names cause a problem.</p>
<p>He then follows up with:</p>
<p>I figured it out. This is the shell script that works:</p>
<blockquote><p>
   [itoph:Coda] toph% more t.sh<br />
   for i in * ; do<br />
   echo mv \&#8221;$i\&#8221; \&#8221;$i.mp3\&#8221; | sh<br />
   done
</p></blockquote>
<p>It looks a bit weird. Why wouldn&#8217;t I just do this:</p>
<blockquote><p>   [itoph:Coda] toph% more t.sh<br />
   for i in * ; do<br />
   mv \&#8221;$i\&#8221; \&#8221;$i.mp3\&#8221;<br />
   done
</p></blockquote>
<p>Well, the reason is because it doesn&#8217;t work. I get this error:</p>
<blockquote><p>   usage: mv [-fi] source target<br />
          mv [-fi] source &#8230; directory
</p></blockquote>
<p>I don&#8217;t understand how echoing and piping it to the shell is any different, but, it works.</p>
<p>Any ideas?</p>
<p>I found your page &#8220;http://artlung.com/lab/other/unix-batch-file-rename/&#8221; when I searched on &#8220;batch rename&#8221;; found it useful.</p>
<p>   Just as I was getting the hang of it, and looking to make it a tidy AppleScript, I discovered that Apple already provided many of those same tools. At least after the developer tools have been installed; I&#8217;m not sure if that&#8217;s required.</p>
<p>   Take a look at /Applications/AppleScript/Example Scripts/Finder Scripts. I found a script that will add extensions and prefixes, as well as one that will do wildcard renaming. Very useful!<br />
http://lab.artlung.com/other/unix-batch-file-rename/ using BASH you can append .mp3 and get rid of those ghastly embedded spaces with:</p>
<blockquote><p>for e in *; do mv &#8220;$e&#8221; &#8220;`echo $e | sed -e &#8216;s/\ /_/g&#8217;`.mp3&#8243;; done<br />
   before:<br />
   $ l<br />
   Bonzo&#8217;s Montruex<br />
   We&#8217;re Gonna Grove<br />
   after:<br />
   $ l<br />
   Bonzo&#8217;s_Montruex.mp3<br />
   We&#8217;re_Gonna_Grove.mp3</p></blockquote>
<p>   the classic basename(1) tool works very nicely without all of the sed ugliness:</p>
<blockquote><p>   # rename every *.htm file *.html<br />
   for f in *htm ; do mv $f `basename $f htm`html; done&#8221;
</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techie.gyaaan.com/change-extension-of-multiple-files-at-once-in-unix/feed/</wfw:commentRss>
		<slash:comments>5</slash:comments>
		</item>
		<item>
		<title>Recursively delete .svn folders in UNIX</title>
		<link>http://techie.gyaaan.com/recursively-delete-svn-folders-in-unix/</link>
		<comments>http://techie.gyaaan.com/recursively-delete-svn-folders-in-unix/#comments</comments>
		<pubDate>Wed, 06 Feb 2008 16:30:38 +0000</pubDate>
		<dc:creator>admin</dc:creator>
				<category><![CDATA[Linux]]></category>
		<category><![CDATA[Deleting]]></category>
		<category><![CDATA[SVN]]></category>

		<guid isPermaLink="false">http://techie.gyaaan.com/?p=4</guid>
		<description><![CDATA[This is a simple example of a unix command, which recursively deletes subversion .svn folders. Subversion is a well-spread open-source revision control application. Every copy of source code received from subversion repository has .svn folders, which store metadata. However, if you want to use or distribute source code, these .svn folder are often not necessary. [...]]]></description>
			<content:encoded><![CDATA[<p>This is a simple example of a unix command, which recursively deletes subversion .svn folders. Subversion is a well-spread open-source revision control application. Every copy of source code received from subversion repository has .svn folders, which store metadata. However, if you want to use or distribute source code, these .svn folder are often not necessary.</p>
<p>We use find command to find all .svn folders beginning from current directory.</p>
<blockquote><p>$ find . -type d -name .svn<br />
./.svn<br />
./sourceA/.svn<br />
./sourceB/.svn<br />
./sourceB/module/.svn<br />
./sourceC/.svn</p></blockquote>
<p>It is possible to pass these directories directly to rm command, using grave accent quotes (key to left of &#8217;1&#8242;)</p>
<blockquote><p>$ rm -rf `find . -type d -name .svn`</p></blockquote>
]]></content:encoded>
			<wfw:commentRss>http://techie.gyaaan.com/recursively-delete-svn-folders-in-unix/feed/</wfw:commentRss>
		<slash:comments>0</slash:comments>
		</item>
	</channel>
</rss>

