HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Archive website repeatedly
Author: William Roeder
Date: 11/05/2009 21:31
> easy way to do this with httrack? Resulting
> Structure ~/YYMMDDHH/<webstructure> and unchanged
> parts linking to older ~/YYMMddHH/...

No, but if you're using xfs and not FAT/FAT32 you could do it with hardlinks
and a batch file:
if "%~2" == "" (
 echo %0 mirrorDirectory snapshotDirectory&&exit/b
setlocal enabledelayedexpansion||pause
for /R %1 %%A in (*) do (
  set origF="%%~A"
  set origD="%%~dpA"
  set newD=!origD:\%~1\=\%~2\!
  set newF=!origF:\%~1\=\%~2\!
  md 2>nul !newF!
  fsutil hardlink create "!newF!" "!origF!"
Reply Create subthread

All articles

Subject Author Date
Archive website repeatedly

11/05/2009 20:20
Re: Archive website repeatedly

11/05/2009 21:31


Created with FORUM 2.0.11