Trouble changing screenshot location with El Capitan

I have changed the screenshot location before on my Macbook Pro with El Capitan using the Terminal. I just changed the name of my screenshots folder and tried to change the location in Terminal, and it won’t take it.

I get a message saying:


"Rep argument is not a dictionary

Defaults have not been changed."


Does anyone know what I am doing wrong?

Any help is appreciated. Thank you


(I also just changed my screenshots folder on my new Macbook using Shift/Cmd/5 and it worked fine)


MacBook Pro 13″, macOS 10.15

Posted on Jul 8, 2025 11:31 PM

Reply
Question marked as Top-ranking reply

Posted on Jul 11, 2025 09:56 AM

> Mugs-MacBook-Pro-15:~ MacBk15$ defaults write com.apple.screencapture location/Users/MacBk15/Desktop/Desktop\ stuff/Screenshots15 


No. You're missing a space. The command needs a space between 'location' and the actual path you want to use. The shell uses spaces to separate out parts of the command.


Try:


defaults write com.apple.screencapture location /Users/MacBk15/Desktop/Desktop\ stuff/Screenshots15 



27 replies

Jul 13, 2025 02:33 PM in response to John Galt

Thank you John. The one thing I was not doing was one of the oldest processes in troubleshooting, that of rebooting the computer after the correct command was input. Running it today (after shutting it down for the night, last night) the check in the terminal and where the screenshots are going all worked correctly.

Thanks for all your help John.

And thank you Camelot for your help along the way.

SOLVED!

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

Trouble changing screenshot location with El Capitan

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.