[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[no subject]
- <!--x-content-type: text/plain -->
- <!--x-date: Fri Mar 18 11:36:01 2005 -->
- <!--x-from-r13: TvfuD ng oryyfbhgu.arg (Dlna Tvfu) -->
- <!--x-message-id: 018701c52bd7$8ec734b0$6401a8c0@win2kpro1 -->
- <!--x-reference: 017a01c52bd1$9411c940$6401a8c0@win2kpro1 -->
- <!--x-reference: [email protected] --> "http://www.w3.org/TR/html4/loose.dtd">
- <!--x-subject: [ale] BASH shell scripting help needed -->
- <li><em>date</em>: Fri Mar 18 11:36:01 2005</li>
- <li><em>from</em>: FishR at bellsouth.net (Ryan Fish)</li>
- <li><em>references</em>: <017a01c52bd1$9411c940$6401a8c0@win2kpro1> <<a href="msg00309.html">[email protected]</a>></li>
- <li><em>subject</em>: [ale] BASH shell scripting help needed</li>
I ended up doing something very similar to that which appears to have
worked.
-Ryan
----- Original Message -----
From: "James Baldwin" <jbaldwin at antinode.net>
To: "Ryan Fish" <FishR at bellsouth.net>; "Atlanta Linux Enthusiasts"
<ale at ale.org>
Sent: Friday, March 18, 2005 11:09 AM
Subject: Re: [ale] BASH shell scripting help needed
On 18 Mar 2005, at 10:45, Ryan Fish wrote:
> am in need of some help with writing a BASH shell script to do remove
> a particular set of directories within a directory. In hopes of not
> having to type out each one I would like to load the list of
> directories to remove from a text file. Unfortunately, my scripting
> skills are sub-par at best so I really don't even know where to start
> with this.
for in `cat directorlisting`; do rmdir $i; done
</pre>
<!--X-Body-of-Message-End-->
<!--X-MsgBody-End-->
<!--X-Follow-Ups-->
<hr>
<!--X-Follow-Ups-End-->
<!--X-References-->
<ul><li><strong>References</strong>:
<ul>
<li><strong><a name="00307" href="msg00307.html">[ale] BASH shell scripting help needed</a></strong>
<ul><li><em>From:</em> FishR at bellsouth.net (Ryan Fish)</li></ul></li>
<li><strong><a name="00309" href="msg00309.html">[ale] BASH shell scripting help needed</a></strong>
<ul><li><em>From:</em> jbaldwin at antinode.net (James Baldwin)</li></ul></li>
</ul></li></ul>
<!--X-References-End-->
<!--X-BotPNI-->
<ul>
<li>Prev by Date:
<strong><a href="msg00309.html">[ale] BASH shell scripting help needed</a></strong>
</li>
<li>Next by Date:
<strong><a href="msg00311.html">[ale] mkfs.vfat under Slackware</a></strong>
</li>
<li>Previous by thread:
<strong><a href="msg00309.html">[ale] BASH shell scripting help needed</a></strong>
</li>
<li>Next by thread:
<strong><a href="msg00308.html">[SPAM] - [ale] BASH shell scripting help needed - Found word(s) remove list in the Text body</a></strong>
</li>
<li>Index(es):
<ul>
<li><a href="maillist.html#00310"><strong>Date</strong></a></li>
<li><a href="threads.html#00310"><strong>Thread</strong></a></li>
</ul>
</li>
</ul>
<!--X-BotPNI-End-->
<!--X-User-Footer-->
<!--X-User-Footer-End-->
</body>
</html>