컴퓨터 잘쓰기/Mac(OSX)(25)
-
[Path] 공인인증서 저장경로
/users/자신의계정명칭/library/Preferences/NPKI
2016.07.27 -
[Command] 폴더내부 특정 파일 및 폴더 지우기
> find . -type d -name .git -depth -exec rm -rf {} \; -print> find . -type d -name .svn -depth -exec rm -rf {} \; -print> find . -type f -name .DS_Store -depth -exec rm -rf {} \; -print 권한 문제가 있을경우 sudo 붙여서 사용
2016.07.07 -
[Command] 폴더별 파일 갯수 카운팅
## 폴더별 카운팅> find ./ -type d | while read DIR N ; do echo -n "$DIR "; (find $DIR -type f -maxdepth 1 | wc -l); done ## 폴더별 카운팅 후 정렬> find ./ -type d | while read DIR N ; do echo -n "$DIR "; (find $DIR -type f -maxdepth 1 | wc -l); done | sort -rn -k 2;
2016.07.05 -
[Path] Xcode Organizer Archives 에 등록된 앱 제거
Organizer의 Archives에 등록된 Archive를 모두 지워도 좌측에 표시된 앱정보는 삭제되지 않고 삭제할수 있는 메뉴도 나오지 않는다.이 정보를 제거하기 위해 직접 디스크에서 제거하면 된다. ## Delete app Organizer~/Library/Developer/Xcode/Products/{app} 삭제
2016.04.04 -
[Tool] HoRNDIS - Mac OSX에서 Android USB 테더링 가능하게 해주는 드라이버
#### 다운로드http://joshuawise.com/horndis 드라이버 설치 후 리부팅 후 사용하면 됩니다. #### 참고자료- 맥북 el Capitan 업데이트 후 안드로이드 USB 테더링 안될 경우http://cafe.naver.com/inmacbook/1356332 - 맥OSX 10.11 (엘 캐피탄)에서 USB테더링 사용하기 (주의할 점 있음)http://yeoupooh.blog.me/220548323696
2016.04.04 -
[Command] OSX 터미널에서 파일 MD5 처리
## 특정 경로의 모든파일 md5 출력> find ./ -type f -exec md5 {} \;> find ./ -type f -exec cat {} \; | md5 ## 특정 경로의 특정 확장자파일 md5 출력> find ./ -iname '*.a' -exec md5 '{}' \;> find ./ -iname '*.a' -exec md5 '{}' \; > output.txt
2015.07.13