From 79e35e7efc1c6ef7fecf8d537b9801ff3f3bf14d Mon Sep 17 00:00:00 2001 From: ache Date: Fri, 9 Aug 2024 03:27:17 +0200 Subject: add a website mirroring command --- functions/wdl.fish | 14 ++++++++++++++ 1 file changed, 14 insertions(+) create mode 100644 functions/wdl.fish diff --git a/functions/wdl.fish b/functions/wdl.fish new file mode 100644 index 0000000..e229f0f --- /dev/null +++ b/functions/wdl.fish @@ -0,0 +1,14 @@ +function wdl --wraps "wget" --description "Download a whole website" + echo 'Use --domains XX and --no-parent XXX to have get clean links\n' + wget \ + --continue \ + --recursive \ + --no-clobber \ + --page-requisites \ + --html-extension \ + --convert-links \ + --restrict-file-names=windows \ + $argv + # --domains box.ache.one \ + # --no-parent \ "box.ache.one:1080" +end -- cgit v1.2.3-70-g09d2