Re: rsync backup scipt

2002-01-25 Thread Jesse Goerz

On Friday 25 January 2002 03:09, Hereward Cooper wrote:
> I've used rsync ok, (using one from a previous thread) but i'm
> not sure how to do the rotation system? Also when backing up /
> on the server, what stops it from copying the contents of a
> mounted cd aswell?

 --exclude=PATTERN exclude   filesmatching
PATTERN

Jesse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: LinkWalker

2002-01-08 Thread Jesse Goerz
On Tuesday 08 January 2002 01:38, Russell Coker wrote:
> On Mon, 7 Jan 2002 23:31, Nathan Strom wrote:
> > > I have a nasty web spider with an agent name of
> > > "LinkWalker" downloading everything on my site (including
> > > .tgz files).  Does anyone know anything about it?
> >
> > It's apparantly a link-validation robot operated by a
> > company called SevenTwentyFour Incorporated, see:
> > http://www.seventwentyfour.com/tech.html
>
> Oops.
>
> Actually they sent me an offer of a free trial to their
> service (which seems quite useful).  The free trial gave me
> some useful stats and let me fix a bunch of broken links (of
> course I didn't pay).

You can do the same thing with wget:
--spider
   When invoked with this option, Wget will behave as a Web
   spider, which means that it will not download the pages, just
   check that they are there.  You can use it to check your
   bookmarks, e.g. with:

wget --spider --force-html -i bookmarks.html

   This feature needs much more work for Wget to get close to 
   the functionality of real WWW spiders.

You'll be checking more than bookmarks but you get the idea.

Jesse




Re: LinkWalker

2002-01-08 Thread Jesse Goerz

On Tuesday 08 January 2002 01:38, Russell Coker wrote:
> On Mon, 7 Jan 2002 23:31, Nathan Strom wrote:
> > > I have a nasty web spider with an agent name of
> > > "LinkWalker" downloading everything on my site (including
> > > .tgz files).  Does anyone know anything about it?
> >
> > It's apparantly a link-validation robot operated by a
> > company called SevenTwentyFour Incorporated, see:
> > http://www.seventwentyfour.com/tech.html
>
> Oops.
>
> Actually they sent me an offer of a free trial to their
> service (which seems quite useful).  The free trial gave me
> some useful stats and let me fix a bunch of broken links (of
> course I didn't pay).

You can do the same thing with wget:
--spider
   When invoked with this option, Wget will behave as a Web
   spider, which means that it will not download the pages, just
   check that they are there.  You can use it to check your
   bookmarks, e.g. with:

wget --spider --force-html -i bookmarks.html

   This feature needs much more work for Wget to get close to 
   the functionality of real WWW spiders.

You'll be checking more than bookmarks but you get the idea.

Jesse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Debian firewall/router distro?

2001-11-23 Thread Jesse Goerz
On Wednesday 21 November 2001 03:27, Russell Coker wrote:
> > Is there a debian-firewall/router distro similar in function
> > to smoothwall?
>
> I have considered starting development of such a project.  But
> decided not to because I don't think I have the time.
>
> What I want is a cut-down Debian that can fit in flash memory
> and run Portslave and other router software.  If anyone else
> wants to start work on such a thing I'll join in...

Did a little research and found these firewall related tools.  
They are all in Debian (mostly unstable I think) maybe there is 
a way to bring them all together and cut down development time?

http://www.fwbuilder.org/index.html
http://rcf.mvlan.net/

firewall-easy (deb package, has a doc pkg in spanish)
ferm (deb package)

Including the gibraltar link posted previously.

Jesse




Re: Debian firewall/router distro?

2001-11-21 Thread Jesse Goerz
On Wednesday 21 November 2001 14:31, Hereward Cooper wrote:
> Once upon a time (actually it was more like Wed, 21 Nov 2001
> 10:31:09 -0500),
>
> "Robb Kidd" <[EMAIL PROTECTED]> wrote:
> > Jesse Goerz wrote:
> > >   ... [boss] wanted to buy
> > > a Cobalt but I recommended we install a smoothwall machine
> > > instead. [...] Whatever I install I have to be able
> > > to convince him that he can semi-administer it if I'm not
> > > there.
> > >
> > > Is there a debian-firewall/router distro similar in
> > > function to smoothwall?
>
> What about gibraltar, debian based and action packed (but it
> requires knowledge to set it up).
> www.gibraltar.at
>
> Hereward

Thanks, I'm checking it out.




Re: Debian firewall/router distro?

2001-11-21 Thread Jesse Goerz

On Wednesday 21 November 2001 14:31, Hereward Cooper wrote:
> Once upon a time (actually it was more like Wed, 21 Nov 2001
> 10:31:09 -0500),
>
> "Robb Kidd" <[EMAIL PROTECTED]> wrote:
> > Jesse Goerz wrote:
> > >   ... [boss] wanted to buy
> > > a Cobalt but I recommended we install a smoothwall machine
> > > instead. [...] Whatever I install I have to be able
> > > to convince him that he can semi-administer it if I'm not
> > > there.
> > >
> > > Is there a debian-firewall/router distro similar in
> > > function to smoothwall?
>
> What about gibraltar, debian based and action packed (but it
> requires knowledge to set it up).
> www.gibraltar.at
>
> Hereward

Thanks, I'm checking it out.


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Debian firewall/router distro?

2001-11-20 Thread Jesse Goerz
I'm a newbie administrator at a small publishing company.  I 
have been consistently trying to get my boss to migrate a 
yellowdog linux server to debian-ppc.  After a recent 3 hour 
outage (ouch) my boss couldn't do anything to get the machine up 
(I'm a part time worker, not on call).  Anyway, he wanted to buy 
a Cobalt but I recommended we install a smoothwall machine 
instead.  I'm confident I can get the smoothwall machine up and 
running but what I really want is a debian based distro for easy 
upgrades and maintenance.  Whatever I install I have to be able 
to convince him that he can semi-administer it if I'm not there.

Is there a debian-firewall/router distro similar in function to 
smoothwall?

All the server needs to do is act as a firewall/router for the 
internal lan and the webserver.  It won't be offering any other 
services.

TIA,
Jesse




Debian firewall/router distro?

2001-11-20 Thread Jesse Goerz

I'm a newbie administrator at a small publishing company.  I 
have been consistently trying to get my boss to migrate a 
yellowdog linux server to debian-ppc.  After a recent 3 hour 
outage (ouch) my boss couldn't do anything to get the machine up 
(I'm a part time worker, not on call).  Anyway, he wanted to buy 
a Cobalt but I recommended we install a smoothwall machine 
instead.  I'm confident I can get the smoothwall machine up and 
running but what I really want is a debian based distro for easy 
upgrades and maintenance.  Whatever I install I have to be able 
to convince him that he can semi-administer it if I'm not there.

Is there a debian-firewall/router distro similar in function to 
smoothwall?

All the server needs to do is act as a firewall/router for the 
internal lan and the webserver.  It won't be offering any other 
services.

TIA,
Jesse


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: apt

2001-10-13 Thread Jesse Goerz
On Saturday 13 October 2001 11:49, Frank Louwers wrote:
> On Sat, Oct 13, 2001 at 08:45:48AM -0700, Kevin wrote:
> > is there a way to lock a package so that apt/dpkg wont
> > update it?
> >
> > i use a bofh'd bash, but it keeps getting overwritten by new
> > bash packages.  i suppose i could chattr +i it but im hoping
> > theres a more elegant solution.
>
> dpkg your version, start dselect, go to the bash package, and
> press '='. That puts your package on hold ...
>
> Frank

or if you don't like dselect
echo "my_bash hold" | dpkg --set-selections

to test
dpkg --get-selections | grep my_bash








Re: apt

2001-10-13 Thread Jesse Goerz

On Saturday 13 October 2001 11:49, Frank Louwers wrote:
> On Sat, Oct 13, 2001 at 08:45:48AM -0700, Kevin wrote:
> > is there a way to lock a package so that apt/dpkg wont
> > update it?
> >
> > i use a bofh'd bash, but it keeps getting overwritten by new
> > bash packages.  i suppose i could chattr +i it but im hoping
> > theres a more elegant solution.
>
> dpkg your version, start dselect, go to the bash package, and
> press '='. That puts your package on hold ...
>
> Frank

or if you don't like dselect
echo "my_bash hold" | dpkg --set-selections

to test
dpkg --get-selections | grep my_bash






-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: VIM

2001-09-18 Thread Jesse Goerz

On Tuesday 18 September 2001 04:38, Craig wrote:
> Hi ladies and fellas
>
> Need to do an extended find and replace with VIM, anyone
> know the syntax for me ? I have a really long named.conf
> file I need to modify ...
>
> Kind regards
> Craig

sed -e 's/what_to_find/replace_it_with_this/g' named.conf

By default it sends all the output to stdout.  You can redirect 
it to another file.  It does multi-line as well.  Try info sed 
or Google it.  Very cool program.

Jesse 


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: Have you been hacked by f*ck PoizonBOx?

2001-06-01 Thread Jesse Goerz
On Friday 01 June 2001 13:28, Peter Billson wrote:
> "L@@K dont throw away!" wrote:
> > I've created an online community called "Have you been hacked by f*ck
> > PoizonBOx?".
>
> And a worm that attacks Solaris and IIs in relevant to the Debian-ISP
> list how?
>
> Suggestion: Please don't blindly SPAM mailing lists to promote your Web
> site.
>
> Thanks.
>
> Pete

This guy spammed debian-isp, debian-mentor, debian-sgml, and debian-doc that 
I know of.  Does anyone know how to report this guy to his isp?  I'm not 
using a "real" email program and I don't know what I'm looking for in the 
mail headers. (or is he using an open relay?)

Jesse
-- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc




Re: Have you been hacked by f*ck PoizonBOx?

2001-06-01 Thread Jesse Goerz

On Friday 01 June 2001 13:28, Peter Billson wrote:
> "L@@K dont throw away!" wrote:
> > I've created an online community called "Have you been hacked by f*ck
> > PoizonBOx?".
>
> And a worm that attacks Solaris and IIs in relevant to the Debian-ISP
> list how?
>
> Suggestion: Please don't blindly SPAM mailing lists to promote your Web
> site.
>
> Thanks.
>
> Pete

This guy spammed debian-isp, debian-mentor, debian-sgml, and debian-doc that 
I know of.  Does anyone know how to report this guy to his isp?  I'm not 
using a "real" email program and I don't know what I'm looking for in the 
mail headers. (or is he using an open relay?)

Jesse
-- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Redirect posts

2001-05-31 Thread Jesse Goerz
I'm not trying to be a jerk here but the description for this list is:

"Discussion about issues and problems specific to Internet Service Providers 
(ISPs for short) that use Debian."

Unless your talking about a rack of modems or the TCP/IP connection on the 
server that's running your (Debian) ISP you ought to redirect these requests.

I think you'll get help quicker on the debian-user mailing list.

Jesse
-- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc




Redirect posts

2001-05-31 Thread Jesse Goerz

I'm not trying to be a jerk here but the description for this list is:

"Discussion about issues and problems specific to Internet Service Providers 
(ISPs for short) that use Debian."

Unless your talking about a rack of modems or the TCP/IP connection on the 
server that's running your (Debian) ISP you ought to redirect these requests.

I think you'll get help quicker on the debian-user mailing list.

Jesse
-- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: rsync and syncronization of 2 webservers

2001-05-03 Thread Jesse Goerz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 May 2001 13:13, alexis bory wrote:
> hello debian ISPs,
>
>
> I'm beginning to build something to "syncronize" two webservers and I plan
> to use rsync over ssh to do some part of the job. (info : I'm new with
> rsync, could say I'm new with unix world).
>
> [1] The first test show me a ".myfile.a-funny-word" :
>
>[EMAIL PROTECTED]:~/test1$ rsync -av -e ssh /etc/testfile
> [EMAIL PROTECTED]:"/etc/testfile"
>building file list ... done
>testfile
>cannot create /etc/.testfile.7ibSP3 : Permission denied (I know why :)
>   
>wrote 83 bytes  read 36 bytes  238.00 bytes/sec
>total size is 0  speedup is 0.00
>
> Q : Does any body know the meaning of this ?
>
> [2] I plan to move lot of files by this way, and I will have to play like a
> fool whith permissions. So I accept all advices, experiences, links to good
> docs ...
>
> Thanx a lot
>
> alexis

Try this link:
http://www.google.com/search?q=cache:eunuchs.org/linux/rsync/rsync_content.html+rsync+tutorial&hl=en

It's a cached link on google.  Can't seem to hit his site.  It's a good intro.

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrx5DMACgkQUraCO4ktIFfj5gCgimIz92efP922dHqdFrBXBO3/
c/sAmwbTfUxCwIvpnsNzZMlvEqv89FA2
=Tq7Y
-END PGP SIGNATURE-




Re: rsync and syncronization of 2 webservers

2001-05-03 Thread Jesse Goerz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Thursday 03 May 2001 13:13, alexis bory wrote:
> hello debian ISPs,
>
>
> I'm beginning to build something to "syncronize" two webservers and I plan
> to use rsync over ssh to do some part of the job. (info : I'm new with
> rsync, could say I'm new with unix world).
>
> [1] The first test show me a ".myfile.a-funny-word" :
>
>alex@serv2:~/test1$ rsync -av -e ssh /etc/testfile
> alex@serv3:"/etc/testfile"
>building file list ... done
>testfile
>cannot create /etc/.testfile.7ibSP3 : Permission denied (I know why :)
>   
>wrote 83 bytes  read 36 bytes  238.00 bytes/sec
>total size is 0  speedup is 0.00
>
> Q : Does any body know the meaning of this ?
>
> [2] I plan to move lot of files by this way, and I will have to play like a
> fool whith permissions. So I accept all advices, experiences, links to good
> docs ...
>
> Thanx a lot
>
> alexis

Try this link:
http://www.google.com/search?q=cache:eunuchs.org/linux/rsync/rsync_content.html+rsync+tutorial&hl=en

It's a cached link on google.  Can't seem to hit his site.  It's a good intro.

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
gpg key ID: 892D2057
ascii armored version at:
http://personal.mco.bellsouth.net/~jgoerz/gnupgkey-dsa.asc
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrx5DMACgkQUraCO4ktIFfj5gCgimIz92efP922dHqdFrBXBO3/
c/sAmwbTfUxCwIvpnsNzZMlvEqv89FA2
=Tq7Y
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Re: local APT mirror (take 2)

2001-04-18 Thread Jesse Goerz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 April 2001 08:19, James Mclean wrote:
> list,
>
> Thanks to all that replied, but what should I put in the sources.list file?
> This is the main thing that is holding me back now...
>
>
> Machine is only available from a local network (ie no fqdn) will this
> matter at all? hostname is hydrogen, and all the packages on the system are
> from 2.2r0 cd's. i have proftp and apache running on the server.
>
> cheers
>
> james mclean

If you're using rsync you don't need anything in your servers sources.list 
file (except a line pointing to the local mirror so you can upgrade the 
server).  Just adjust the clients sources.list to point to an nfs export of 
the mirror.  See previous post.

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
pgp key at:
http://personal.mco.bellsouth.net/~jgoerz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrdsCoACgkQUraCO4ktIFdlrACcCqevdvZSYcsyhyqFyjDAqLBZ
eWYAn18cfE3ABoHj8GcaFPIoGFzhENBu
=7ytz
-END PGP SIGNATURE-




Re: local APT mirror (take 2)

2001-04-18 Thread Jesse Goerz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

On Wednesday 18 April 2001 08:19, James Mclean wrote:
> list,
>
> Thanks to all that replied, but what should I put in the sources.list file?
> This is the main thing that is holding me back now...
>
>
> Machine is only available from a local network (ie no fqdn) will this
> matter at all? hostname is hydrogen, and all the packages on the system are
> from 2.2r0 cd's. i have proftp and apache running on the server.
>
> cheers
>
> james mclean

If you're using rsync you don't need anything in your servers sources.list 
file (except a line pointing to the local mirror so you can upgrade the 
server).  Just adjust the clients sources.list to point to an nfs export of 
the mirror.  See previous post.

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
pgp key at:
http://personal.mco.bellsouth.net/~jgoerz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrdsCoACgkQUraCO4ktIFdlrACcCqevdvZSYcsyhyqFyjDAqLBZ
eWYAn18cfE3ABoHj8GcaFPIoGFzhENBu
=7ytz
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]




Fwd: Re: local APT mirror

2001-04-14 Thread Jesse Goerz
-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Forgot to cc, oops.
- --  Forwarded Message  --
Subject: Re: local APT mirror
Date: Fri, 13 Apr 2001 18:54:05 -0400
From: Jesse Goerz <[EMAIL PROTECTED]>
To: Andrew Savory <[EMAIL PROTECTED]>


On Friday 13 April 2001 04:38, Andrew Savory wrote:
> On Fri, 13 Apr, 2001 at  7:38 +, James Mclean wrote:
> > Any body got any tips on how to do this or docs on doing it?
>
> Sounds pretty much like what apt-proxy does. It might be worth using
> that. Not sure how you'd populate the proxy from the CDs, but one way you
> could do it if you have space to spare is copy the ISOs to disk, mount
> them through loopback, and then add the cds to the apt-proxy's
> sources.list file.
>
>
> Andrew.

I'm not a sysadmin so take this for what it's worth.  Here's what I do for my
home lan to mirror the debian-kde archive for potato, hack as necessary (this
is i386 specific).

#!/bin/bash
#/usr/bin/mirror_kde2

# declare variables
kde_mirror_root="/mirror/kde2/dists/potato/"
connection_up=`ifconfig | grep ppp0`

# function to do rsync stuff
do_rsync_function ()
{
  cd $kde_mirror_root
  exec rsync -v -v --dry-run -az --delete --delete-excluded \
   --exclude source/ \
   --exclude incoming/ \
   --exclude changes/ \
   --exclude qt1apps/ \
   --exclude sword/ \
   --exclude binary-alpha/ \
   --exclude binary-m68k/ \
   --exclude binary-sparc/ \
   --exclude binary-powerpc/ \
   --exclude "kde-i18n*" \
   kde.debian.net::kde/dists/potato/ .
}

# need a test to see if online
# then start connection as necessary

if [ "$connection_up" == "" ]; then
 pon provider
 sleep 1m
 do_rsync_function
else
 do_rsync_function
fi

# remove --dry-run and -v's when satisfied.
# mail output to root?

Also, check out this if you're not that familiar with rsync:
http://www.google.com/search?q=cache:eunuchs.org/linux/rsync/rsync_content.ht
ml+rsync+tutorial&hl=en

(that is a cached link at google, for some reason I couldn't hit his real
site)

I then export the mirror using nfs and put this in my sources.list

deb file:/mnt/mirror/kde2 potato kde2 main crypto optional

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
pgp key at:
http://personal.mco.bellsouth.net/~jgoerz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrXz1oACgkQUraCO4ktIFdFuACeK6JgKLfMvhWGgnxqxm0J/aNG
wmYAn0iTPJ3bieled6ZOA6rXfHY2XyIs
=Fngo
-END PGP SIGNATURE-




Fwd: Re: local APT mirror

2001-04-13 Thread Jesse Goerz

-BEGIN PGP SIGNED MESSAGE-
Hash: SHA1

Forgot to cc, oops.
- --  Forwarded Message  --
Subject: Re: local APT mirror
Date: Fri, 13 Apr 2001 18:54:05 -0400
From: Jesse Goerz <[EMAIL PROTECTED]>
To: Andrew Savory <[EMAIL PROTECTED]>


On Friday 13 April 2001 04:38, Andrew Savory wrote:
> On Fri, 13 Apr, 2001 at  7:38 +, James Mclean wrote:
> > Any body got any tips on how to do this or docs on doing it?
>
> Sounds pretty much like what apt-proxy does. It might be worth using
> that. Not sure how you'd populate the proxy from the CDs, but one way you
> could do it if you have space to spare is copy the ISOs to disk, mount
> them through loopback, and then add the cds to the apt-proxy's
> sources.list file.
>
>
> Andrew.

I'm not a sysadmin so take this for what it's worth.  Here's what I do for my
home lan to mirror the debian-kde archive for potato, hack as necessary (this
is i386 specific).

#!/bin/bash
#/usr/bin/mirror_kde2

# declare variables
kde_mirror_root="/mirror/kde2/dists/potato/"
connection_up=`ifconfig | grep ppp0`

# function to do rsync stuff
do_rsync_function ()
{
  cd $kde_mirror_root
  exec rsync -v -v --dry-run -az --delete --delete-excluded \
   --exclude source/ \
   --exclude incoming/ \
   --exclude changes/ \
   --exclude qt1apps/ \
   --exclude sword/ \
   --exclude binary-alpha/ \
   --exclude binary-m68k/ \
   --exclude binary-sparc/ \
   --exclude binary-powerpc/ \
   --exclude "kde-i18n*" \
   kde.debian.net::kde/dists/potato/ .
}

# need a test to see if online
# then start connection as necessary

if [ "$connection_up" == "" ]; then
 pon provider
 sleep 1m
 do_rsync_function
else
 do_rsync_function
fi

# remove --dry-run and -v's when satisfied.
# mail output to root?

Also, check out this if you're not that familiar with rsync:
http://www.google.com/search?q=cache:eunuchs.org/linux/rsync/rsync_content.ht
ml+rsync+tutorial&hl=en

(that is a cached link at google, for some reason I couldn't hit his real
site)

I then export the mirror using nfs and put this in my sources.list

deb file:/mnt/mirror/kde2 potato kde2 main crypto optional

jesse
- -- 
Docs by & for Debian newbies
http://newbiedoc.sourceforge.net
pgp key at:
http://personal.mco.bellsouth.net/~jgoerz
-BEGIN PGP SIGNATURE-
Version: GnuPG v1.0.4 (GNU/Linux)
Comment: For info see http://www.gnupg.org

iEYEARECAAYFAjrXz1oACgkQUraCO4ktIFdFuACeK6JgKLfMvhWGgnxqxm0J/aNG
wmYAn0iTPJ3bieled6ZOA6rXfHY2XyIs
=Fngo
-END PGP SIGNATURE-


--  
To UNSUBSCRIBE, email to [EMAIL PROTECTED]
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]