Screenshots, viewing a batch of images and getting to a folder fast on macOS, from the keyboard and from Terminal. The keys use the symbols printed on the Mac keyboard: ⌘ Command, ⇧ Shift, ⌥ Option and ⌃ Control.

Screenshots

Saved to the Desktop unless you add ⌃.

⇧+⌘+3

Capture the whole screen

⇧+⌘+4

Drag a crosshair over the area to capture

⇧+⌘+4 Space

Switch to a camera pointer and click a window or menu

⇧+⌘+5

Open the Screenshot toolbar for screen, window, area or a screen recording

⌃

Add to the 3 and 4 shortcuts above to copy to the clipboard instead of saving a file

⌥

Hold while clicking a window to leave out its shadow

Space

Hold while dragging an area to move it instead of resizing

Esc

Cancel the capture

The Options menu of ⇧+⌘+5 sets the save location, including the clipboard, a timer, the floating thumbnail and the mouse pointer, and stays in effect for the shortcuts.
Screenshots from Terminal

Every row starts with screencapture.

shot.png

Capture the whole screen without asking

-i shot.png

Pick an area interactively, press Space for a window

-iW shot.png

Start directly in window mode

-c

Copy to the clipboard instead of writing a file

-T 5 shot.png

Wait five seconds, so you can open a menu first

-x shot.png

Capture without the camera sound

# keep screenshots out of the Desktop
mkdir -p ~/Pictures/Screenshots
defaults write com.apple.screencapture location ~/Pictures/Screenshots
killall SystemUIServer   # restarts the menu bar

# back to the Desktop default
defaults delete com.apple.screencapture location
killall SystemUIServer
Open several images

Select in Finder, then open them together.

⌘-click

Add or remove a single file from the selection

⇧-click

Select a range in list or column view

⌘+A

Select everything in the folder

Space

Quick Look the selection, step through it with the arrow keys

⌥+⌘+Y

Show the selection as a full screen slideshow

⌘+O

Open all selected images in Preview, in one window with a sidebar

Drag onto Preview

Drop files on the Preview icon in the Dock to open them together

If they open in separate windows, set Preview › Settings › Images › When opening files to Open groups of files in the same window.
Preview

With several images in one window.

⌥+⌘+2

Show the thumbnail sidebar

↑ ↓

Previous or next image in the sidebar

⌘+A

Select all thumbnails, so the next action applies to every image

⌘+L

Rotate left

⌘+R

Rotate right

⇧+⌘+A

Show the markup toolbar to annotate or crop

⌃+⌘+F

Full screen

Select all thumbnails, then Tools › Adjust Size or File › Export Selected Images to resize or convert a whole batch.
Go to a folder in Finder

In Finder. ⇧+⌘+G also works in Open and Save dialogs.

⇧+⌘+G

Go to Folder, type a path such as ~/Library, Tab completes

⇧+⌘+H

Home folder

⇧+⌘+D

Desktop

⌥+⌘+L

Downloads

⇧+⌘+O

Documents

⇧+⌘+A

Applications

⌘+↑

Up to the enclosing folder

⌘+↓

Open the selected folder or file

⌘+N

New Finder window

⌘+T

New tab in the current window

⇧+⌘+.

Show or hide hidden files

⌥+⌘+P

Show the path bar at the bottom of the window

⌥+⌘+C

Copy the path of the selected item

Open from Terminal

Every row starts with open.

.

Open the current directory in a Finder window

~/Downloads

Open any folder in Finder

-R build/report.pdf

Reveal a file in Finder with the file selected

*.png

Open files in their default app, several images share one Preview window

-a Preview *.jpg

Open files with a specific app

https://www.vogella.com

Open a URL in the default browser

Drag a file or folder from Finder into Terminal to paste its full path.

Part of the vogella tutorials. (©) 2026 vogella GmbH, see the license.