맥의 관련된 팁을 정리한다.
파인더나 파일 열기 창에서 '감춰진 파일'을 보려면
Cmd + Shift + .
PROMPT='[%~] $ ' # G 컬러표시 alias ls='ls -alG'
The geekier amongst us and those familiar with Unix should really like this trick. You can have Mac OS X 10.5 display the full directory path in the Finder window title bar by issuing a simple command from the Terminal.
defaults write com.apple.finder _FXShowPosixPathInTitle -bool YES
Then you’ll want to kill the Finder for changes to take effect:
killall Finder
To disable the full path title bars and revert back to the default, simply repeat the command with NO instead of YES as the operator:
defaults write com.apple.finder _FXShowPosixPathInTitle -bool NO killall Finder
Note: this apparently only works within Mac OS X 10.5 Leopard (thanks kg!)
애플 사이트에서 참조할 내용을 본다.
타임머신이 로컬스토리지에 백업을 남기게 되면, '시스템 데이터' 용량이 늘어나기 시작한다.
타임머신 백업을 삭제해서 용량을 확보한다. 아래 커맨드를 사용한다.
tmutil
tmutil
은 전체 디스크 접근 권한이 필요한데, 터미널에 전체 디스크 접근 권한를 줄 필요가 있다.
tmutil
의 사용은 tmutil을 바로 실행하면 예제를 보여준다.
[~] $ tmutil Usage: tmutil version Usage: tmutil enable Usage: tmutil disable Usage: tmutil startbackup [-a | --auto] [-b | --block] [-r | --rotation] [-d | --destination dest_id] Usage: tmutil stopbackup Usage: tmutil delete [-d backup_mount_point -t timestamp] [-p path] Usage: tmutil deleteinprogress machine_directory Usage: tmutil restore [-v] src ... dst Usage: tmutil compare [-@acdefghlmnstuEX] [-D depth] [-I name] tmutil compare [-@acdefghlmnstuEX] [-D depth] [-I name] snapshot_path tmutil compare [-@acdefghlmnstuEUX] [-D depth] [-I name] path1 path2 Usage: tmutil setdestination [-a] mount_point tmutil setdestination [-ap] afp://user[:pass]@host/share Usage: tmutil removedestination destination_id Usage: tmutil destinationinfo [-X] Usage: tmutil addexclusion [-p|-v] item ... Usage: tmutil removeexclusion [-p|-v] item ... Usage: tmutil isexcluded item ... Usage: tmutil inheritbackup machine_directory tmutil inheritbackup sparse_bundle Usage: tmutil associatedisk [-a] mount_point volume_backup_directory Usage: tmutil latestbackup [-m] [-t] [-d mount_point] Usage: tmutil listbackups [-m] [-t] [-d mount_point] Usage: tmutil machinedirectory Usage: tmutil calculatedrift machine_directory Usage: tmutil uniquesize path ... Usage: tmutil verifychecksums path ... Usage: tmutil localsnapshot Usage: tmutil listlocalsnapshots <mount_point> Usage: tmutil listlocalsnapshotdates [<mount_point>] Usage: tmutil deletelocalsnapshots [<mount_point> | <snapshot_date>] Usage: tmutil thinlocalsnapshots <mount_point> [purgeamount] [urgency]
실제로 사용한 것들
# 백업 정지 [~] $ tmutil stopbackup [~] $ tmutil disable tmutil: disable requires root privileges. # 백업 목록 보기 [~] $ tmutil listlocalsnapshots / Snapshots for disk /: com.apple.TimeMachine.2021-12-14-174026.local live_E8B41459-57A2-42FB-82CC-0CCFBC1F76E9 # 로컬 백업 삭제 [~] $ tmutil deletelocalsnapshots / Deleted 1 Time Machine local snapshots for disk '/' com.apple.TimeMachine.2021-12-14-174026.local [~] $ sudo tmutil disable
하드디스크의 스마트검사를 간단히 하고 알려준다.
10.4에서는
~/Library/Preferences/com.apple.universalaccess.plist
10.5에서는
~/Library/Preferences/com.apple.symbolichotkeys.plist
변경해야할 값은
Root/AppleSymbolicHotkeys/60/value/parameters/2
의 값을
Number : 131072 //원래값 : 1048576
로 바꿔주고, 재부팅 하면 한영전환이 Shift+Space로 바뀐다.
추가코멘트 - 다른키가
Key value for modifier of Mac 0 = no modifier 131072 = Shift 262144 = Control 524288 = Option 1048576 = Command (Apple)