Skip to Content.
Sympa Menu

baslinux - Re: [BL] how do you move files to/from your local net ?

baslinux AT lists.ibiblio.org

Subject: Baslinux mailing list

List archive

Chronological Thread  
  • From: baslinux AT lists.ibiblio.org
  • To: baslinux AT lists.ibiblio.org
  • Subject: Re: [BL] how do you move files to/from your local net ?
  • Date: Sun, 02 Dec 2007 17:32:49 +1300

Message from Steven
===================
Czerno wrote:
>
> > I got around this by writing a script to automatically
> > generate an index.htm with a clickable list of files
> > in that directory. Tell me if you want a copy.
>
> Yes please, might you post it at the main BL site so
> everybody can get a copy ?

echo '<HTML>' > index.html
echo '<BODY>' >> index.html
echo '<TABLE>' >> index.html
for i in *; do
pre=`ls -dl $i | cut -c1`
case $pre in
d) pre=""
name=$i' ==>' ;;
*) pre=`ls -dsh $i |sed 's/^ *//' |cut -d" " -f1`
name=$i ;;
esac
echo '<TR>' >> index.html
echo '<TD>'$pre >> index.html
echo '<TD><A HREF="'$i'">'$name'</A><BR>' >> index.html
done
echo '</TABLE>' >> index.html
echo '</BODY>' >> index.html
echo '</HTML>' >> index.html
















>
>
> >> I also thought of using nc/netcat.
>
> > That's what the BL3 send/receive scripts use. If you
> > have netcat on the other Lin/Win machines then you will
> > be able to use send/receive.
>
> Aha! Must have a look at those scripts. I put netcat on Win machines
> routinely. OTOH, I am not in the habit of installing-running FTP
> servers.
>
>
> Cheers,
>
> --
> Czerno
>
> EOM _____________________________________________________________
>
>
>
>
>
> _____________________________________________________________________________
>
> Ne gardez plus qu'une seule adresse mail ! Copiez vos mails vers Yahoo!
> Mail
>
> -----------------------
> BasicLinux mailing list
> -----------------------
> http://www.basiclinux.com.ru
> http://www.ibiblio.org/pub/linux/distributions/baslinux/
> ------------------------------------
> To exit, send subject=unsubscribe to
> baslinux-request AT lists.ibiblio.org






Archive powered by MHonArc 2.6.24.

Top of Page