WelcomeWelcome | FAQFAQ | DownloadsDownloads | WikiWiki

Author Topic: Screenshot - wrong filenames  (Read 4158 times)

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Screenshot - wrong filenames
« on: June 18, 2009, 01:39:10 AM »
Screenshot saves pictures with filename like screenshot_06.18_09:32:22.png This is not a valid DOS file name, therefore such a file can't be copied to the FAT partition on the USB drive to use it on a WINDOWS machine for publication.


Regards... Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline alu

  • Sr. Member
  • ****
  • Posts: 429
Re: Screenshot - wrong filenames
« Reply #1 on: June 18, 2009, 03:09:10 AM »
if i rename the file, i can save it on my fat usb stick

Offline curaga

  • Administrator
  • Hero Member
  • *****
  • Posts: 10981
Re: Screenshot - wrong filenames
« Reply #2 on: June 18, 2009, 03:10:20 AM »
Philosophical question: why should we give a heck about dos/windows file names?

In practise it's easy to copy with a different filename if needed, as alu said.
The only barriers that can stop you are the ones you create yourself.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Screenshot - wrong filenames
« Reply #3 on: June 18, 2009, 03:19:50 AM »
Philosophical question: why should we give a heck about dos/windows file names?

In practise it's easy to copy with a different filename if needed, as alu said.

Hm... The most generic way to run TC from USB stick with FAT filesystem, or to use a FAT formatted stick to move files from TC to WIN (ok, there are many other ways are know). So DOS file names are used by TC. If the captured file name can be changed in the system why not? I can rename them for sure, but it is an unnecessary overhead.

Of course one can say forget DOS emotionally, but it is not practical and not user friendly approach. You can spend 10 minutes to change the format and save 100 minutes for the community  :D

BTW, show me any other application in TC creating file names with ':'

Anyhow, it is not so important, but for me it is still remains a bug.

Regards

Béla
« Last Edit: June 18, 2009, 03:23:39 AM by bmarkus »
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: Screenshot - wrong filenames
« Reply #4 on: June 18, 2009, 05:07:44 AM »
I agree with both of you.  I don't think a Linux system should be too concerned about DOS filenames when it comes to the ancient 8.3 naming scheme, but I believe that some characters simply shouldn't be part of a filename due to their potential to cause trouble with applications that make special use of those characters.

Although technically the only character you can't use is slash, I think space, semicolon, asterisk, exclamation, question, percent....blah blah, blah, all should be avoided in my opinion.  The only non-alpha-numeric characters I use are underscore, hyphen, and dot (though I have some older files including brackets....haven't had issue with them yet).

Offline jpeters

  • Restricted
  • Hero Member
  • *****
  • Posts: 1017
Re: Screenshot - wrong filenames
« Reply #5 on: June 18, 2009, 09:43:05 AM »
I do find the time designation in the name helpful, however, in that I can quickly see which shot I want to save. 

Offline mikshaw

  • Sr. Member
  • ****
  • Posts: 368
Re: Screenshot - wrong filenames
« Reply #6 on: June 18, 2009, 11:41:20 AM »
The snapshot script I've been using the last few years has the format  `date +%y-%m%d-%H%M`, which works fine as long as I don't need to take multiple shots in the same minute (only happened once so far).  I suppose I could add seconds as well...

Offline bigpcman

  • Hero Member
  • *****
  • Posts: 719
Re: Screenshot - wrong filenames
« Reply #7 on: June 18, 2009, 12:20:53 PM »
The snapshot script I've been using the last few years has the format  `date +%y-%m%d-%H%M`, which works fine as long as I don't need to take multiple shots in the same minute (only happened once so far).  I suppose I could add seconds as well...

I would agree the screenshot name should change to not use uncommon characters that may cause problems. I find that I retake screenshots within a few seconds once I realize I screwed up (which is often) so seconds would matter to me.
big pc man

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Screenshot - wrong filenames
« Reply #8 on: June 18, 2009, 10:47:22 PM »
I do find the time designation in the name helpful, however, in that I can quickly see which shot I want to save. 

The problem is not the time but the ":" Replacing it with "_" or just omitting would be fine.
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."

Offline roberts

  • Administrator
  • Hero Member
  • *****
  • Posts: 7361
  • Founder Emeritus
Re: Screenshot - wrong filenames
« Reply #9 on: June 19, 2009, 07:58:32 AM »
I will remove the unneeded delimiters with the date portion.
10+ Years Contributing to Linux Open Source Projects.

Offline bmarkus

  • Administrator
  • Hero Member
  • *****
  • Posts: 7183
    • My Community Forum
Re: Screenshot - wrong filenames
« Reply #10 on: June 19, 2009, 08:03:20 AM »
I will remove the unneeded delimiters with the date portion.

Thanks!

Béla
Béla
Ham Radio callsign: HA5DI

"Amateur Radio: The First Technology-Based Social Network."