Sunday, November 24, 2024

macos – Unix command to save QuickTime Player recordings into custom folder

Using MacOS Ventura 13.5

Is there a Terminal command for macOS to specify a custom saving directory for QuickTime player videos?

For screenshots I use:

defaults write com.apple.screencapture location "<path></path>" 

What would be the equivalent for quick time videos/recordings?

ps aux | grep com.apple.quick yields these paths for QuickTime:

  • /System/Applications/QuickTimePlayer.app/Contents/XPCServices/com.apple.quicktimeplayer.SharedPrefsVendor.xpc/Contents/MacOS/com.apple.quicktimeplayer.SharedPrefsVendor

  • /System/Library/Frameworks/QuickLookThumbnailing.framework/Support/com.apple.quicklook.ThumbnailsAgent

Tried to modify it to my needs:

defaults write com.apple.quicktimeplayer.SharedPrefsVendor location "~/Desktop/video_recording"

to no avail.

Using the UI. Upon each screen recording I have to select the custom target folder regardless of having clicked on “Remember Last Selection”. The 2nd time I try to record the screen, it no longer saves the recordings in the specified folder.

Steps to activate “Remember Last Selection”

QuickTime Player > File > New Screen Recording > Options > Remember Last Selection

Related Articles

Latest Articles