topbanner_forum
  *

avatar image

Welcome, Guest. Please login or register.
Did you miss your activation email?

Login with username, password and session length
  • Tuesday December 3, 2024, 2:24 am
  • Proudly celebrating 15+ years online.
  • Donate now to become a lifetime supporting member of the site and get a non-expiring license key for all of our programs.
  • donate

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

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
    • View Profile
    • swapped.cc
    • Donate to Member
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....om/timestamp-clamper ...sort of
Download: https://bvckup2.com/...imestamp-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
    • View Profile
    • Donate to Member
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).
 

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,913
    • View Profile
    • Mouser's Software Zone on DonationCoder.com
    • Read more about this member.
    • Donate to Member
Sweet!  :Thmbsup:
ps. this qualifies as a NANY release (https://www.donation...ex.php?topic=44276.0)

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
    • View Profile
    • swapped.cc
    • Donate to Member
ps. this qualifies as a NANY release (https://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,566
    • View Profile
    • Donate to Member
Boy, that's fast!!!

Thanks for sharing.
-cranioscopical (October 02, 2017, 07:02 AM)

^+1


timestamp-clamper.gif
a tenth of a second!

apankrat

  • Supporting Member
  • Joined in 2010
  • **
  • Posts: 155
    • View Profile
    • swapped.cc
    • Donate to Member
Boy, that's fast!!!

^+1
a tenth of a second!
-cranioscopical (October 02, 2017, 07:02 AM)

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
    • View Profile
    • Donate to Member
Boy, that's fast!!!

^+1
a tenth of a second!
-cranioscopical (October 02, 2017, 07:02 AM)

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

Nonetheless, I think you deserve the cache eh?