[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[ale] BASH shell scripting help needed
- Subject: [ale] BASH shell scripting help needed
- From: jbaldwin at antinode.net (James Baldwin)
- Date: Fri Mar 18 11:16:00 2005
- In-reply-to: <017a01c52bd1$9411c940$6401a8c0@win2kpro1>
- References: <017a01c52bd1$9411c940$6401a8c0@win2kpro1>
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PGP.sig
Type: application/pgp-signature
Size: 186 bytes
Desc: This is a digitally signed message part