[ale] Hey, deb-heads!
James P. Kinney III
jkinney at localnetsolutions.com
Tue Jul 2 08:59:51 EDT 2002
Hmm. I've double indices before in bash. What's not running, the second
for loop or the `ls -1`?
On Mon, 2002-07-01 at 23:39, Jeff Hubbs wrote:
> Jim -
>
> Looks like that for j in `ls -1` line isn't gonna fly - I assume you
> want the shell to evaluate that command but it's not...
>
> - Jeff
>
> On Mon, 2002-07-01 at 22:57, James P. Kinney III wrote:
> > Use a loopback mount to mount them all someplace like /tmp/cd1,
> > /tmp/cd2, etc.
> >
> > #!/bin/bash
> >
> > export ftp=<path to ftp>
> > for i in 1 2 3
> > do
> > cd /tmp/cd$i
> > for j in `ls -1`
> > do
> > ln -s /tmp/cd$i/$j $ftp/$j
> > done
> > done
> >
> >
> >
> >
> > On Mon, 2002-07-01 at 22:43, Jeff Hubbs wrote:
> > >
> > > I've downloaded the three Debian Potato CD ISOs to my file server and
> > > I'm going to try to do an install using the contents of those ISOs as
> > > the source via FTP.
> > >
> > > My question is, how do I combine the contents of the CDs in my FTP
> > > filespace so as to make the whole schmeer resemble the Debian mirrors on
> > > the Internet? I'm used to doing this in Red-Hat-land but the layout
> > > here is quite different.
> > >
> > > - Jeff
> > >
> > >
> > >
> > > ---
> > > This message has been sent through the ALE general discussion list.
> > > See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
> > > sent to listmaster at ale dot org.
> > --
> > James P. Kinney III \Changing the mobile computing world/
> > President and CEO \ one Linux user /
> > Local Net Solutions,LLC \ at a time. /
> > 770-493-8244 \.___________________________./
> >
> > GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
> > <jkinney at localnetsolutions.com>
> > Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
> >
> >
>
--
James P. Kinney III \Changing the mobile computing world/
President and CEO \ one Linux user /
Local Net Solutions,LLC \ at a time. /
770-493-8244 \.___________________________./
GPG ID: 829C6CA7 James P. Kinney III (M.S. Physics)
<jkinney at localnetsolutions.com>
Fingerprint = 3C9E 6366 54FC A3FE BA4D 0659 6190 ADC3 829C 6CA7
This is a digitally signed message part
More information about the Ale
mailing list