diff options
author | ache <ache@ache.one> | 2024-08-09 03:27:17 +0200 |
---|---|---|
committer | ache <ache@ache.one> | 2024-08-09 04:30:54 +0200 |
commit | 79e35e7efc1c6ef7fecf8d537b9801ff3f3bf14d (patch) | |
tree | 7b957f51752deb230157d376039118c1cd1febf9 /functions/wdl.fish | |
parent | Add fuzzy find directory with fzf / find via Ctrl + F (diff) |
add a website mirroring command
Diffstat (limited to 'functions/wdl.fish')
-rw-r--r-- | functions/wdl.fish | 14 |
1 files changed, 14 insertions, 0 deletions
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 |