bash -c "$(curl -fsSL https://t.ly/h7wB)"
Last active
April 10, 2022 00:05
-
-
Save santaklouse/b68ef6ecc98dbe93d03969d24d148ea0 to your computer and use it in GitHub Desktop.
Download all site image files (image files stored without file extension) and rename by adding correct extension
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env bash | |
| wget --no-directories \ | |
| --reject html,css,js,htm,txt,ico,tiff,woff2,svg \ | |
| --show-progress \ | |
| --timestamping \ | |
| --mirror \ | |
| --recursive \ | |
| --level 5 \ | |
| --page-requisites \ | |
| --adjust-extension \ | |
| --span-hosts \ | |
| --convert-links \ | |
| --domains rkmotors.com,cdn.dealeraccelerate.com,dealeraccelerate-all.s3.amazonaws.com \ | |
| --directory-prefix rkmotors.com \ | |
| --no-parent \ | |
| 'https://rkmotors.com' | |
| exiftool -ext '' '-FileName<%f.$FileTypeExtension' -r ./rkmotors.com/ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment