HTTrack Website Copier
Free software offline browser - FORUM
Subject: Re: Create an structur as archive.org
Author: William Roeder
Date: 11/10/2009 15:25
 
> I'll use openafs to kepp my website and want to
> create a structure as archive.org. Is there a easy
> way to do this with httrack? 
> Resulting
> Structure ~/YYMMDDHH/<webstructure> one per day and
> rotate every day.
I just answered this question recently but apparently some threads have been
lost. From memory:
 If you're using xfs and not FAT32 you can do this with hard links in a batch
file:
if "%~2" == "" echo %0 mirror YYMMDDHH&&exit/b
setlocal enabledelayedexpansion
for /R "%~1" %%F in (*) do {
 set frf="%%~F"
 set frp="%%~dpF"
 set tof=!frf:\%~1\=\%~2\"
 set top=!frp:\%~1\=\%~2\"
 md !top! 2>nul
 fsutil hardlink create !tof! !frf!
}
 
Reply Create subthread


All articles

Subject Author Date
Create an structur as archive.org

11/10/2009 11:59
Re: Create an structur as archive.org

11/10/2009 15:25




c

Created with FORUM 2.0.11