On Thu, Jul 10, 2003 at 10:46:02AM +0200, H M Kunzmann wrote: > I've used wget to mirror a site with many subdirectories. > Unfortunately this site had many spaces in the urls and now I have a > stack of directories with %20 instead of spaces. > > Can I write a script to get all directory names with %20 in the name and > replace the %20 with spaces ? > > How would I do this ? Pointers would be much appreciated. > > Also, could this script be made to drill down into subdirectories and > files ? > > Thanks for the help > > Ciao > Herbert > I have a perl script that will rename files according to several rules. It is called sainty.pl I downloaded it from the web and it works well. It was created for "sanitizing" file names that came from other OS like windows. changes spaces to underscores, etc, etc. I could send it to you if you don't find anything else. Rigo