Mac OS X: Difference between revisions
Jump to navigation
Jump to search
mNo edit summary |
No edit summary |
||
| Line 17: | Line 17: | ||
find . -type f -name ".DS_Store" -print0 | xargs -0 rm -f | find . -type f -name ".DS_Store" -print0 | xargs -0 rm -f | ||
find . -type f -name "._.DS_Store" -print0 | xargs -0 rm -f | find . -type f -name "._.DS_Store" -print0 | xargs -0 rm -f | ||
== Remotely Enable or Disable Screen Sharing == | |||
To enable screen sharing: | |||
$ cd /Library/Preferences | |||
$ echo -n enabled > com.apple.ScreenSharing.launchd | |||
To disable screen sharing: | |||
$ cd /Library/Preferences | |||
$ rm com.apple.ScreenSharing.launchd | |||
Revision as of 05:36, 26 June 2008
http://www.denis.lemire.name/images/posts/leopard.png
Convert icns to PNG
sips -s format png Dictionary.icns --out ~/Desktop/Dictionary_icon
Ripping a DVD
hdiutil makehybrid -udf -udf-volume-name DISTRUBIA_WS -o distrubia.iso ~/Desktop/DISTURBIA_WS
Enabling Time Machine to use Unsupported Devices
defaults write com.apple.systempreferences TMShowUnsupportedNetworkVolumes 1
Removing DS_Store Files
find . -type f -name ".DS_Store" -print0 | xargs -0 rm -f find . -type f -name "._.DS_Store" -print0 | xargs -0 rm -f
Remotely Enable or Disable Screen Sharing
To enable screen sharing:
$ cd /Library/Preferences $ echo -n enabled > com.apple.ScreenSharing.launchd
To disable screen sharing:
$ cd /Library/Preferences $ rm com.apple.ScreenSharing.launchd