Skip to content

DevPops-Inc/mac

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1,608 Commits
 
 
 
 
 
 
 
 

Repository files navigation

Download and Run Scripts on Mac

Download Single File from GitHub on Mac

• Select the file you wish to download.
image

• Select “Raw.”
image

• Right-click and select “Save Page As…”
image

• Browse to where you’d like to save the file, replace the file extension with desired file type and select “Save.”
image

• Select “Don’t append.”
image

• The file will save to your desired location.
image


Run Bash Script in Terminal on Mac

• Right-click on the directory containing the Bash script you wish to run, Expand Services” menu and select “New Terminal at Folder.”
image

• Type chmod +x < Bash script >.sh and press return key to give the script executable permission.
image

• Type ./< Bash script >.sh and press return key to run the Bash script.
image


Run Python Script in Terminal on Mac

• Right-click on the directory containing the Bash script you wish to run, Expand Services” menu and select “New Terminal at Folder.”
image

• Type python3 < Python script >.py and press return key to run the Python script.
image


Run PowerShell Script in Terminal on Mac

• Right-click on the directory containing the PowerShell script you wish to run, Expand Services” menu and select “New Terminal at Folder.”
image

• Type pwsh < PowerShell script >.ps1 and press return key to run the PowerShell script • image

About

I wrote these scripts to automate tasks for Mac-users.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors