HTTrack Website Copier
Free software offline browser - FORUM
Subject: replace / with - in filename?
Author: joshwa
Date: 02/09/2005 01:33
 
I'd like to flatten the site structure of the site i'm
mirroring, but not run into dupe problems, by encoding the
original path in the filename, e.g.

site1.com/foo/file1.ext
site1.com/bar/file1.ext

site1.com-foo-file1.ext (or site1.com_foo_file1.ext)
site1.com-bar-file1.ext

If the site were query-based, I know how I'd do it, but is
there a way to do this? I suppose I can write something that
flattens it after the fact, but it would be far better to do
it in one go.

Any ideas?
Thanks,
--Joshwa
 
Reply


All articles

Subject Author Date
replace / with - in filename?

02/09/2005 01:33
Re: replace / with - in filename?

02/09/2005 11:01
Re: replace / with - in filename?

02/12/2005 14:42
Re: replace / with - in filename?

07/30/2008 22:18




7

Created with FORUM 2.0.11