Skip to content

Instantly share code, notes, and snippets.

@mapi68
Last active November 14, 2023 05:11
Show Gist options
  • Save mapi68/2c52085575ee7128667e4e093648ac45 to your computer and use it in GitHub Desktop.
Save mapi68/2c52085575ee7128667e4e093648ac45 to your computer and use it in GitHub Desktop.
This Bash script utilizes the wget command to recursively download the contents of a specified folder while excluding unnecessary files
#!/bin/bash
tput clear
echo
echo "********************* Hello $USER! *********************"
echo
echo "Please paste link of folder that you want to download:"
read A
echo
wget -m -np -c --no-check-certificate -R "index.html*" $A
echo
exit 0
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment