Add download_site.sh
This commit is contained in:
18
download_site.sh
Normal file
18
download_site.sh
Normal file
@@ -0,0 +1,18 @@
|
||||
#!/bin/bash
|
||||
|
||||
# Target URL
|
||||
URL="https://vmware.digiboy.ir"
|
||||
|
||||
# Output directory
|
||||
OUTPUT_DIR="vmware_digiboy_ir"
|
||||
|
||||
# Run wget with options:
|
||||
# -r: recursive
|
||||
# -np: no parent (don't ascend to parent directories)
|
||||
# -nH: no host directories
|
||||
# --cut-dirs=1: skip first directory in path
|
||||
# -P: directory to save files in
|
||||
# --mirror: turn on recursion and time-stamping
|
||||
# --convert-links: convert links for local viewing
|
||||
# --no-check-certificate: skip SSL certificate check
|
||||
wget --mirror --no-parent --no-check-certificate -P "$OUTPUT_DIR" "$URL"
|
Reference in New Issue
Block a user