Add download_site.sh

This commit is contained in:
2025-04-23 18:00:43 +00:00
commit bda22b7a54

18
download_site.sh Normal file
View 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"