I have just updated to Mojave 10.14.6 and found that the shift-command-5 allows user to set a save file location. I always use Ram Drive to work for temporary file since SSD have a limitation in read/write life. (I have encountered a malfunction SSD before. When that SSD is "broken", it did not allow to write and become read only. So any sensitive data inside it cannot be erased.)
For instance, I set the saving location for the screenshots to Ram Drive. However, the screenshot does not save other than to local drive.(I haven't tried in USB though)
If I set it to a Ram Drive, nothing is saved. If I switch back to a local drive. It works again. Things tried:
- Add system access rights to the ram drive and the specific folder (not work)
- Add utilities/screenshot.app to Accessibility in preference (not work)
- saving location confirmed by
defaults read com.apple.screencapture location, it is set in/Volumes/Ram/uploadsbut just don't work
Does any one have such an experience and successful in doing so? Many thanks.
Edited 1
- I am using tmpdisk to create ram drive on startup which formats the ram disk as
Mac OS Extended(not in the format list of current MacOS Disk Util) - Tried USB stick (a micro SD card with USB Type-C adapter) running
ExFAT, it works. The micro SD come with ExFat because it is sharing with Android phone. I just grab for test and use temporarily.
Edited 2 With the inspiration of @Tetsujin, I have tried the following:
I format the Ram drive using
Disk UtilwithExFatandMac OS Extended (Journaled). Both work suddenly.Then I reboot to try the startup format. It still works.
Then I turn Accessibility off for screenshot.app and then reboot to try, it also works
It seems that only the first time I tried didn't work. I am unsure what make it working or not working. I could only conclude that reformat it and reboot it seems resolving the issue.
Thank for your time.
mktmp. That combined with a RAM drive makes for some secure temp files – Allan Jun 13 '20 at 17:17do shell script "hdid -nomount ram://" & NumSectorsthendo shell script "diskutil eraseVolume 'HFS+' '" & VolumeName & "' " & DeviceNameI do some other stuff because I actually have this one copy out a directory on launch & sync it back at quit, but those 2 lines are all it needs to set the drive up – Tetsujin Jun 14 '20 at 07:20