mirror of
https://gitlab.com/siarp/siarp.de.git
synced 2026-08-07 19:18:17 +00:00
2670f2b373450496fe9c203f568adead1f7d8d94
Because we used this index structure in step 1, all non-HTML paths are also rewritten to the /index.* pattern. First, we download the files and assets without rewriting by using HTTrack again in another, temporary directory: ``` httrack http://siarp.de -K -O . -N --robots=0 ``` From there we move (overwrite) over the files to our working directory. ``` rm -rf martin misc modules PFAD rss sites themes tilman cd ../../httrack-abs/siarp.de mv martin.xml misc modules rss.xml sites themes tilman.xml ../../httrack-clean/siarp.de cd ../../working-dir/siarp.de find . -name "*.html" -type f -print0 | xargs -0 perl -i -pe "s/\/index\././g" ```
Description
No description provided
Languages
HTML
99.4%
JavaScript
0.6%