DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: Timestamp Clamper - for hammering file/folder timestamps into a reasonable range  (Read 31,344 times)

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
Hi fellas,

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

timestamp-clamper.png

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.

Homepage: https://pipemetrics.com/timestamp-clamper ...sort of
Download: https://bvckup2.com/files/timestamp-clamper.exe -- 85 KB, no installation needed, no dependencies

Any comments or suggestions - I'm all ears.

Cheers,
Alex
Alex

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Boy, that's fast!!!

Thanks for sharing.

To my amazement I found one file 'created' in 1601. I know I'm getting a bit long in the tooth but really…  :o

Searched 1708 folders, 31185 files as close to instantly as I can measure subjectively (actually reported as 0.1 sec).

Chris

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Sweet!  :Thmbsup:
ps. this qualifies as a NANY release (http://www.donationcoder.com/forum/index.php?topic=44276.0)

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
ps. this qualifies as a NANY release (http://www.donationcoder.com/forum/index.php?topic=44276.0)

Haha... excellent :)

I've been meaning to make a NANY release for years now. Started on a LAN chat for the 15/16 cycle, got about 50% way through, but then the routine got me, so it's been sitting on a shelf since then. The UI had some bright moments to it though (https://dribbble.com/apankrat/projects/333232-Lancaster), so I'm still planning to finish it at some point.

Alex

Curt

  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 7,565
Boy, that's fast!!!

Thanks for sharing.

^+1


[attach=#]
a tenth of a second!

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
Boy, that's fast!!!

^+1
a tenth of a second!

Gentlemen, it merely means that you have well-warmed up file system caches :)
Alex

cranioscopical

  • Friend of the Site
  • Supporting Member
  • Joined in 2006
  • **
  • Posts: 4,776
    • Cody Award
    • Official Forum Clown
    • rotten turkey sandwich - Rotten Turkey Sandwich
Boy, that's fast!!!

^+1
a tenth of a second!

Gentlemen, it merely means that you have well-warmed up file system caches :)

Nonetheless, I think you deserve the cache eh?
Chris

Original address: https://www.donationcoder.com/forum/index.php?topic=44425.0