Save macOS Screenshots in a different default location

With the terminal command

defaults write com.apple.screencapture location ~/Pictures/Screenshots

all screenshots will be saved to a folder „Screenshots“ in the Pictures folder. This folder has to be created manually beforehand.