Questions tagged [scselect]

2 questions
2
votes
3 answers

OS X: How to get the current network location inside a bash function?

I need to use the current network location inside a bash script conditional. I've tried using the scselect command, which outputs an asterisk next to the current location: ~/ scselect Defined sets include: (* == current set) …
GJ.
  • 9,673
  • 26
  • 74
  • 115
1
vote
1 answer

Set a Location with accented chars with scselect on OSX

I have a location named "Café en Madrid". If I try to set it with scselect on Terminal, the accented é is turned into gibberish and the command fails: [kodai.fernando ~/Desktop] scselect "Café en Madrid" Set "Caf√© en Madrid" not available. Defined…
cfischer
  • 8,973
  • 11
  • 37
  • 42