그래오늘은이거야

Mac Terminal(터미널) screenshot 스크린샷 jpg,png, HEIC,PDF,GIF,TIFF 확장자 변경 및 경로 지정 (폴더 경로 보이기) 본문

세상 개발/IOS(Swift)

Mac Terminal(터미널) screenshot 스크린샷 jpg,png, HEIC,PDF,GIF,TIFF 확장자 변경 및 경로 지정 (폴더 경로 보이기)

jinhongstar 2022. 10. 5. 10:42
728x90
반응형

안녕하세요 

보안상 png 파일을 사용못하거나 스크린샷을 pdf 로 저장할때

 

터미널 에서 스크린샷 확장자 변경

 

 

defaults write com.apple.screencapture location ~/Desktop 

 

 

 

/Users/jbappdevelopone/Desktop

 

폴더 경로 보이기 폴더 경로 이름을 복사 해서

 

defaults write com.apple.screencapture location ~/Desktop 

특정 경로에 를 입력 하면 그 경로로 스크린샷 위치가 변경됩니다.

defaults write com.apple.screencapture location 변경할 위치

예를들어 )  defaults write com.apple.screencapture location /Users/jbappdevelopone/Desktop

 

screenshot location change

 

 

스크린샷 확장자 변경은 아래와 같습니다.

터미널을 열고 변경하고 싶은 확장자명으로 복사하여 붙여넣으면됩니다.

  1. Open Terminal from the Application > Utilities folder, or use Spotlight to open it.
  2. Copy and paste one of the following commands into Terminal and press the Enter key.
  3. To save Mac screenshots in JPG format: 
  4. defaults write com.apple.screencapture type jpg;killall SystemUIServer
  5. To save Mac screenshots in HEIC format:
    defaults write com.apple.screencapture type heic;killall SystemUIServer
  6. To save Mac screenshots as PDF:
    defaults write com.apple.screencapture type PDF;killall SystemUIServer
  7. To save Mac screenshots as GIF:
    defaults write com.apple.screencapture type gif;killall SystemUIServer
  8. To save Mac screenshots as TIFF:
    defaults write com.apple.screencapture type tiff;killall SystemUIServer
  9. Or, to return Mac screenshots back to PNG format:
    defaults write com.apple.screencapture type png;killall SystemUIServer

 

래퍼런스

https://www.makeuseof.com/how-to-change-default-screenshot-format-mac/

 

How to Save Mac Screenshots as JPG, GIF, PDF, and Other Formats

Want to save your Mac screenshots as a different file format? Here's how to change to default on your Mac or save shots on a case-by-case basis.

www.makeuseof.com

 

반응형
Comments