can i get some help?
im trying to make a bash script that runs with a double click. its intended to do some rapid wifi networks cleanup. When run on a macbook, it should also clean up icloud linked phones too. neat.
The idea is to stop devices from network hopping when on the go, or at home etc.
Here is the equivalent windows one to get the idea. Can someone help me make a file that works on osx?
ECHO
netsh wlan delete profile name=*xfini*
netsh wlan delete profile name=*home-*
netsh wlan delete profile name=*netgear*
netsh wlan delete profile name=*dlink*
netsh wlan delete profile name=*d-link*
netsh wlan delete profile name=*centu*
netsh wlan delete profile name=*comca*
netsh wlan delete profile name=*hidden*.
netsh wlan delete profile name=*starb*
netsh wlan delete profile name=*goog*
netsh wlan delete profile name=*tull*
netsh wlan delete profile name=*t-mob*
netsh wlan delete profile name=*veriz*
netsh wlan delete profile name=*at&t*
netsh wlan delete profile name=*boingo*
PAUSE
im trying to make a bash script that runs with a double click. its intended to do some rapid wifi networks cleanup. When run on a macbook, it should also clean up icloud linked phones too. neat.
The idea is to stop devices from network hopping when on the go, or at home etc.
Here is the equivalent windows one to get the idea. Can someone help me make a file that works on osx?
ECHO
netsh wlan delete profile name=*xfini*
netsh wlan delete profile name=*home-*
netsh wlan delete profile name=*netgear*
netsh wlan delete profile name=*dlink*
netsh wlan delete profile name=*d-link*
netsh wlan delete profile name=*centu*
netsh wlan delete profile name=*comca*
netsh wlan delete profile name=*hidden*.
netsh wlan delete profile name=*starb*
netsh wlan delete profile name=*goog*
netsh wlan delete profile name=*tull*
netsh wlan delete profile name=*t-mob*
netsh wlan delete profile name=*veriz*
netsh wlan delete profile name=*at&t*
netsh wlan delete profile name=*boingo*
PAUSE