> 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!
}
|