사용자 도구

사이트 도구


사이드바

카테고리

tip:osx

맥의 관련된 팁을 정리

맥의 관련된 팁을 정리한다.

감춰진 파일 보기

파인더나 파일 열기 창에서 '감춰진 파일'을 보려면

Cmd + Shift + .

키 입력 반복 속도

키보드 입력 반복 기능이 안된다면, 콘솔 윈도우에서

defaults write -g ApplePressAndHoldEnabled -bool false

ZSH 프롬프트 설정

.zshrc
PROMPT='[%~]
$ '
 
# G 컬러표시
alias ls='ls -alG'

윈도우 내리는 커맨드

  • cmd-H:
    전면에 있는 앱의 윈도우를 가립니다. 전면에 있는 앱을 제외한 나머지 앱을 모두 가리려면 option-command-H 키를 누릅니다.
  • cmd-M:
    전면에 있는 윈도우를 최소화하여 Dock에 추가합니다. 전면에 있는 앱의 윈도우를 모두 최소화하려면 command-option-M 키를 누릅니다.
  • cmd-W:
    전면에 있는 윈도우를 닫습니다. 앱의 윈도우를 모두 닫으려면 option-command-W 키를 누릅니다.
  • opt-cmd-esc:
    앱을 강제 종료합니다.

Finder에서 FullPath 보기

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!)

iDisk를 윈도우즈에서 사용

애플 사이트에서 참조할 내용을 본다.

타임머신 데이터 삭제

  • os: Monterey 몬트레이 12.0.1

타임머신이 로컬스토리지에 백업을 남기게 되면, '시스템 데이터' 용량이 늘어나기 시작한다.

타임머신 백업을 삭제해서 용량을 확보한다. 아래 커맨드를 사용한다.

tmutil

tmutil전체 디스크 접근 권한이 필요한데, 터미널에 전체 디스크 접근 권한를 줄 필요가 있다.

  • 위치 : 시스템 환경설정 > 보안 및 개인 정보 보호 > 개인 정보 보호 > 전체 디스크 접근 권한

tmutil의 사용은 tmutil을 바로 실행하면 예제를 보여준다.

tmutil 예제

실제로 사용한 것들

# 백업 정지
[~]
$ 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   

hdd의 스마트 검사

하드디스크의 스마트검사를 간단히 하고 알려준다.

Leopard에서 한영키를 Shift+space로 변경

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)
tip/osx.txt · 마지막으로 수정됨: 2022/12/04 11:45 저자 kieuns