What are Coding Snacks?

Coding Snacks represent the best of DonationCoder.

On a special section of our forum, anyone can post an idea for a small custom utility/program.

Coders who hang out on our forum keep an eye out for interesting requests and when they see one that catches their interest, they code it and release it to the public for free.

People who find the tools useful are encouraged to donate directly to the coders to show their appreciation.

Forum Links:

  • Browse completed coding snacks: here.
  • Browse and submit new requests: here.
Latest Forum Posts

What are Coding Snacks?

Coding snacks are small custom utilities written by coders who hang out on DonationCoder in response to requests posted on our forum.

You are viewing a specific blog item. Click here to return to the main blog page.

Timestamp Clamper - for hammering file/folder timestamps into a reasonable range

timestamp-clamper.png
DC member apankrat writes:

Hi fellas,

Long time, no post. I thought I'd show a little weekend hack of mine -

This is a tool for when you need to replicate files from A to B, but some files have timestamps so far in the past or in the future that they aren't supported by the B's file system. Think, for example, copying from NTFS to FAT and looking at a file that somehow got created in the early 17th century.

No, don't look at me. It turns out to be a common issue with the photographer kind as older cameras did weird things with timestamps. Like leaving them at all zeroes, which translated to whatever the earliest date/time supported by the storage file system was. So there's lots of photos around dating back to Jan 01, 1970 and some such.

In any case:

  • Uses parallel file system scanner, so it's rather fast.
  • Simple UI with in-place error feedback.
  • Drop-down list with predefined ranges for common file systems.
  • Preview / live mode.
  • Copy-pastable log, with full error reporting and summary stats.

Read more and download..



Share on Facebook