Hello,

I use wget to mirror the contents of a remote directory (containing patches for SuSE Linux, if you want to know the details).

It works quite well, but I can't find an option that makes wget remove files locally that are no longer on the server.

Example: If the file foo-1.2.3-45.rpm is replaced by foo-1.2.3-46.rpm, wget happily downloads the new file, but the old one remains locally.

For now, I have to remove the old files semi-automagically to avoid cramming the disk.

How do I tell wget to remove them? (IMHO, this should be part of mirroring.)

TIA,

Heiko

PS: I use wget-1.9.1

PPS: The web site http://wget.sunsite.dk says that the mailing list is open to non-subscribers. Apparently, this is not true. I tried to send an email to the list before I subscribed, but it didn't get through.




Reply via email to