On sd Card during creation file which named by time throwing error


#1

I am using MangOH green and 4 gb sd card.
sd card is detecting. and i am able to access it in my applications as well.
but when i tried to make a file ‘10:30:00.json’ it throws some errors.

root@swi-mdm9x15:/mnt# touch 00:09:00.json
> touch: 00:09:00.json: Invalid argument

how can make this type of files.
i want to make files by time naming only.


#2

I suspect that the problem is that the filesystem that the SD card is using doesn’t support colon (:) characters in filenames. Either format the SD card with a different filesystem or change your filename to something like 00-09-00.json.