Screenshot time format causing issues on Dropbox

The default filename for screenshots provides a title, date, and time, such as "Screenshot 2024-11-18 at 08.48.15.png". I have no issue with the first 25 characters. It is the time format that is causing problems, and most specifically, the use of fullstops/periods in the format.


The reason for the problem is that Dropbox has problems with that character in file names, and I assume it is treating it as an end of file name character. It is listed in the characters not to use.


https://help.dropbox.com/organize/file-names


Note that Dropbox is required because other people use it that I share files with, otherwise I would have dropped it by now - so yeah.


What I want to do is to change or remove the "." character. I know I can change the leading characters and that is not what I want to do. I know I can remove the date and time outputs, and I don't want to do that either.


Any suggestions?

Mac mini

Posted on Nov 17, 2024 11:56 AM

Reply
Question marked as Top-ranking reply

Posted on Nov 18, 2024 1:43 AM

Worked it out.


Created an Action using the Shortcuts app.


The Action takes an interactive screenshot and saves with filename "Screenshot", then appends Current Date with custom format yyyyMMddHHmmss and ".png". Added it to the Dock and keyboard command as CMD-Opt-Shift-4.


Result is "Screenshot20241118223338.png"


Also did one with Automator but running it from the Finder was more awkward.

9 replies
Question marked as Top-ranking reply

Nov 18, 2024 1:43 AM in response to LRDiscovery

Worked it out.


Created an Action using the Shortcuts app.


The Action takes an interactive screenshot and saves with filename "Screenshot", then appends Current Date with custom format yyyyMMddHHmmss and ".png". Added it to the Dock and keyboard command as CMD-Opt-Shift-4.


Result is "Screenshot20241118223338.png"


Also did one with Automator but running it from the Finder was more awkward.

Nov 17, 2024 9:38 PM in response to LRDiscovery

Got it done.


I used the Shortcuts App to make an action.

Creates interactive screenshot and saves with name "Screenshot"

Takes the filename and appends Current Date with format yyyyMMddHHmmss and ".png"


Result: Screenshot20241118183253.png


Also did something similar in Automator but getting that to run from the Finder was awkward. So the Shortcuts option wins the day.



Nov 17, 2024 12:51 PM in response to LRDiscovery

Have you actually tried those screen shot files in Dropbox? I have a number of files in my Dropbox that include multiple periods and have experienced no issues. I also placed a screen shot file (with the date in the format you showed with multiple periods in the filename) in my Dropbox and it seemed fine.


If you are still concerned, you could take such files and put them into a zip archive and put that in Dropbox.

Nov 17, 2024 12:25 PM in response to Mac Jim ID

Thanks. That does what I do not want, as noted in my post "I know I can change the leading characters and that is not what I want to do." and "I know I can remove the date and time outputs, and I don't want to do that either." :)


Unless I am missing something in that description, it does not provide for the change or removal of the "." in the time format.




Nov 17, 2024 1:07 PM in response to steve626

When you say "tried those screen shot files in Dropbox" I assume you meant that they are uploaded to Dropbox. In that case, then yes. That is why I made the post.


It's good that your experience with Dropbox seems fine.


Folders are synced. The files are uploaded to Dropbox. The file naming conventions are causing sync issues.


Zipping files adds time and process overhead. I would then have synced files and zipped files that are also synced.


I see no reason to zip files on Dropbox when the actual solution is to change the file name output.

Nov 17, 2024 4:14 PM in response to LRDiscovery

LRDiscovery wrote:

When you say "tried those screen shot files in Dropbox" I assume you meant that they are uploaded to Dropbox. In that case, then yes. That is why I made the post.

It's good that your experience with Dropbox seems fine.

Folders are synced. The files are uploaded to Dropbox. The file naming conventions are causing sync issues.

In my case the individual files have been uploaded to Dropbox and have synced properly. Screen shots as well as some other files with the multiple "period" characters in the file names.


Examples of numerous files with multiple periods that I have in Dropbox that are synced:


adp-warranty.evap.coil.pdf

[this file dates from 2021]


Screenshot 2024-09-16 at 7.59.53 PM 12.48.28 PM.png



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.

Screenshot time format causing issues on Dropbox

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