<?xml version="1.0" encoding="UTF-8"?><rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
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/"
> <channel><title>Comments on: Linux Delete Directory With rmdir Command</title> <atom:link href="http://www.cyberciti.biz/faq/linux-unix-remove-directory/feed/" rel="self" type="application/rss+xml" /><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/</link> <description>Every answer asks a more beautiful question.</description> <lastBuildDate>Fri, 10 Feb 2012 19:55:56 +0000</lastBuildDate> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <item><title>By: velocirapt0r</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64885</link> <dc:creator>velocirapt0r</dc:creator> <pubDate>Fri, 25 Nov 2011 15:29:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64885</guid> <description>Generally speaking (depending on what shell you&#039;re in - BSH, CSH &amp; BASH should be fine), a &quot;\&quot; is an escape character, which means it transforms special characters (&quot;\&quot; included) into string literals. So running &quot;rm -rf ./\\&quot; would recursively delete a directory in the current directory by the name of &quot;\&quot;. Hope this helped.</description> <content:encoded><![CDATA[<p>Generally speaking (depending on what shell you&#8217;re in &#8211; BSH, CSH &amp; BASH should be fine), a &#8220;\&#8221; is an escape character, which means it transforms special characters (&#8220;\&#8221; included) into string literals. So running &#8220;rm -rf ./\\&#8221; would recursively delete a directory in the current directory by the name of &#8220;\&#8221;. Hope this helped.</p> ]]></content:encoded> </item> <item><title>By: velocirapt0r</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64884</link> <dc:creator>velocirapt0r</dc:creator> <pubDate>Fri, 25 Nov 2011 15:25:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64884</guid> <description>I weep for the future of Linux users if this considered praise-worthy.</description> <content:encoded><![CDATA[<p>I weep for the future of Linux users if this considered praise-worthy.</p> ]]></content:encoded> </item> <item><title>By: velocirapt0r</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64883</link> <dc:creator>velocirapt0r</dc:creator> <pubDate>Fri, 25 Nov 2011 15:24:59 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-64883</guid> <description>I rm -rf all the time O.o
Sure, I know people who have lost work to it, but it&#039;s so inefficient to go through potentially a lot of prompts...</description> <content:encoded><![CDATA[<p>I rm -rf all the time O.o<br
/> Sure, I know people who have lost work to it, but it&#8217;s so inefficient to go through potentially a lot of prompts&#8230;</p> ]]></content:encoded> </item> <item><title>By: riesal</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-62621</link> <dc:creator>riesal</dc:creator> <pubDate>Wed, 21 Sep 2011 08:41:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-62621</guid> <description>how to delete folder named \ ?</description> <content:encoded><![CDATA[<p>how to delete folder named \ ?</p> ]]></content:encoded> </item> <item><title>By: Hans</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-57164</link> <dc:creator>Hans</dc:creator> <pubDate>Sat, 09 Apr 2011 06:10:14 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-57164</guid> <description>What a wanker! You instruct people to delete the entire file path without warning them? Nice try sir. I wonder how many systems you helped break.</description> <content:encoded><![CDATA[<p>What a wanker! You instruct people to delete the entire file path without warning them? Nice try sir. I wonder how many systems you helped break.</p> ]]></content:encoded> </item> <item><title>By: Yogendra</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-55883</link> <dc:creator>Yogendra</dc:creator> <pubDate>Tue, 22 Feb 2011 04:54:13 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-55883</guid> <description>Thanks &amp; hats off to ur knowledge buddy</description> <content:encoded><![CDATA[<p>Thanks &amp; hats off to ur knowledge buddy</p> ]]></content:encoded> </item> <item><title>By: kasun</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-55081</link> <dc:creator>kasun</dc:creator> <pubDate>Fri, 21 Jan 2011 22:31:51 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-55081</guid> <description>nice.it,s really worked.</description> <content:encoded><![CDATA[<p>nice.it,s really worked.</p> ]]></content:encoded> </item> <item><title>By: DNA</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-45942</link> <dc:creator>DNA</dc:creator> <pubDate>Thu, 11 Feb 2010 08:21:33 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-45942</guid> <description>rm [options] files &#124; directories
The rm (remove) command can delete files:
$ rm file1 file2 file3
or recursively delete directories:
$ rm -r dir1 dir2 dir3
Some Useful Options:
-f  &quot;Forces the deletion ignoring any errors or warnings.
-i  &quot;Asks before deleting each file&quot;
-r  recursively removes a dir(s) and it&#039;s content(s). Use with extreme caution, especially if combining it with the -f option!
You can also use the rmdir command:
The rmdir (remove directory) command deletes one or more empty directories you name.
To delete an entire directory path (Use with extreme caution!) use the -p option along with the directory path (not just the directory name):
rmdir -p dir1/dir2/dir3
The above example would delete not just dir3, but dir1 &amp; dir2 as well!
This will delete dir1,dir2 &amp; dir3!</description> <content:encoded><![CDATA[<p>rm [options] files | directories</p><p>The rm (remove) command can delete files:</p><p>$ rm file1 file2 file3</p><p>or recursively delete directories:</p><p>$ rm -r dir1 dir2 dir3</p><p>Some Useful Options:</p><p>-f  &#8220;Forces the deletion ignoring any errors or warnings.<br
/> -i  &#8220;Asks before deleting each file&#8221;<br
/> -r  recursively removes a dir(s) and it&#8217;s content(s). Use with extreme caution, especially if combining it with the -f option!</p><p>You can also use the rmdir command:</p><p>The rmdir (remove directory) command deletes one or more empty directories you name.</p><p>To delete an entire directory path (Use with extreme caution!) use the -p option along with the directory path (not just the directory name):<br
/> rmdir -p dir1/dir2/dir3</p><p>The above example would delete not just dir3, but dir1 &amp; dir2 as well!</p><p>This will delete dir1,dir2 &amp; dir3!</p> ]]></content:encoded> </item> <item><title>By: Scott</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-39728</link> <dc:creator>Scott</dc:creator> <pubDate>Tue, 06 Jan 2009 15:38:12 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-39728</guid> <description>Warning!
rm -rf /home/data/2000
removes all directories AND files recursively. Option -f means force i.e. to do it without prompting.</description> <content:encoded><![CDATA[<p>Warning!<br
/> rm -rf /home/data/2000<br
/> removes all directories AND files recursively. Option -f means force i.e. to do it without prompting.</p> ]]></content:encoded> </item> <item><title>By: Kamal</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-38032</link> <dc:creator>Kamal</dc:creator> <pubDate>Wed, 04 Jun 2008 08:41:50 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-38032</guid> <description>Thanks a lot. Thins really helped me.</description> <content:encoded><![CDATA[<p>Thanks a lot. Thins really helped me.</p> ]]></content:encoded> </item> <item><title>By: lakshmikanthan</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-38012</link> <dc:creator>lakshmikanthan</dc:creator> <pubDate>Fri, 30 May 2008 05:40:30 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-38012</guid> <description>hi
This is very useful for me
thanks
lakshmi</description> <content:encoded><![CDATA[<p>hi<br
/> This is very useful for me<br
/> thanks<br
/> lakshmi</p> ]]></content:encoded> </item> <item><title>By: Chandrabhanu Mahapatra</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-36904</link> <dc:creator>Chandrabhanu Mahapatra</dc:creator> <pubDate>Tue, 16 Oct 2007 08:15:55 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-36904</guid> <description>It,s quite helpful here,but you should be more precise.</description> <content:encoded><![CDATA[<p>It,s quite helpful here,but you should be more precise.</p> ]]></content:encoded> </item> <item><title>By: Zootropo</title><link>http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-36794</link> <dc:creator>Zootropo</dc:creator> <pubDate>Thu, 06 Sep 2007 07:20:05 +0000</pubDate> <guid
isPermaLink="false">http://www.cyberciti.biz/faq/linux-unix-remove-directory/#comment-36794</guid> <description>You can also use rm -rf</description> <content:encoded><![CDATA[<p>You can also use rm -rf</p> ]]></content:encoded> </item> </channel> </rss>
