Last active
July 3, 2021 19:43
-
-
Save celsobessa/5dd651f1a2bd7b29f902fbe32f0ffad1 to your computer and use it in GitHub Desktop.
Revisions
-
Celso Bessa revised this gist
Jul 3, 2021 . 1 changed file with 8 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,6 +1,13 @@ #!/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 -
Celso Bessa revised this gist
Jul 2, 2021 . 1 changed file with 0 additions and 1 deletion.There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -1,4 +1,3 @@ #!/bin/bash FILE=$1 while read LINE; do -
Celso Bessa created this gist
Jul 2, 2021 .There are no files selected for viewing
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 charactersOriginal file line number Diff line number Diff line change @@ -0,0 +1,7 @@ #!/bin/bash FILE=$1 while read LINE; do open $LINE echo "URL $LINE open" done < $FILE