Fulltext results:
- MacPorts
- === List Ports ===== list requested ports: <code bash> port echo requested | cut -d ' ' -f 1 | uniq </code> list installed ports: <code bash> port -qv installed </code> ===== Housekeeping =... You can see a list of all installed ports: <code bash> port echo installed </code> After you run MacPo... ot of duplicate ports. You can clean these: <code bash> sudo port uninstall inactive </code> {{tag>admi
- rmdir for OSX
- es from the command line quite complicated: <code bash> $ rmdir test rmdir: test: Directory not empty $ ... Store $ /bin/rmdir test </code> I wrote a small bash function to remove directories together with the contained ''.DS_Store'' file: <code bash> rmdir() { for d in "$@" do f="${d%/}/.DS_Store"... ction you can remove the directory at once: <code bash> $ rmdir test removing test/.DS_Store </code> {{
- Command Line Audio
- e from the command line]]. It's as easy as <code bash> sudo osascript -e "set Volume 10" </code> You c... ommand line audio player]]. You just enter <code bash> afplay file.wav </code> More information on how
- Set a Mac's Hostname
- red hostname instead of ''the_hostname''): <code bash> sudo scutil --set HostName the_hostname </code>
- Make your Mac feel at Home
- ther your Mac is in the given (home) WLAN. <code bash> # # Path to 'airport' executeable, as of Mac OS
- Comapct Sparse Image
- ====== Comapct Sparse Image ====== <code bash> hdiutil compact your.sparseimage </code> {{tag>sysadmin