If you don't have Homebrew, install it:
$ /usr/bin/ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)"If you don't have wget, install it:
NOTE (2022-07-09): Xcode finally added this functionality in Xcode 14, please see release notes here:
New Features in Xcode 14 Beta 3
When editing code, the Edit > Duplicate menu item and its corresponding keyboard shortcut now duplicate the selected text — or the line that currently contains the insertion point, if no text is selected. (8614499) (FB5618491)
| #!/bin/bash | |
| #### Created by Jean-Pierre Fourie | |
| ### https://github.com/emotality | |
| ## delete_ds_store.sh | |
| # | |
| clear | |
| echo " " | |
| echo " ########################################################## " | |
| echo " #################### DELETE .DS_STORE #################### " |
| #!/bin/bash | |
| #### Created by Jean-Pierre Fourie | |
| ### https://github.com/emotality | |
| ## set_permissions.sh | |
| # | |
| clear | |
| echo " " | |
| echo " ######################################################### " | |
| echo " ############## FOLDER AND FILE PERMISSIONS ############## " |
| #!/bin/bash | |
| #### Created by Jean-Pierre Fourie | |
| ### https://github.com/emotality | |
| ## force_empty_trash.sh | |
| # | |
| clear | |
| echo " " | |
| echo " ####################################################### " | |
| echo " ################## FORCE EMPTY TRASH ################## " |
| #!/bin/bash | |
| #### Created by Jean-Pierre Fourie | |
| ### https://github.com/emotality | |
| ## hide_desktop.sh | |
| # | |
| clear | |
| echo " " | |
| echo " ######################################################## " | |
| echo " ################## HIDE DESKTOP FILES ################## " |