Last active
July 3, 2021 19:43
-
-
Save celsobessa/5dd651f1a2bd7b29f902fbe32f0ffad1 to your computer and use it in GitHub Desktop.
This file contains 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
#!/bin/bash | |
# Do not forget to run `chmod +x ./open-list-of-urls-macos.sh` in order | |
# to make your script executable | |
# after that type `./open-list-of-urls-macos.sh ./text-file-with-list-of-urls.extension` | |
# you will need to change `./open-list-of-urls-macos.sh` to the location of your script | |
# and `./text-file-with-list-of-urls.extension` to the location of your url list. | |
# For example: | |
# `./tools/open-list-of-urls-macos.sh ./misc/text-file-with-list-of-urls.txt` | |
FILE=$1 | |
while read LINE; do | |
open $LINE | |
echo "URL $LINE open" | |
done < $FILE |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment