• 1 Post
  • 2 Comments
Joined 3 years ago
cake
Cake day: January 16th, 2024

help-circle
  • The intended filename format is:

    src: 20261019_12345678.jpg
    out: 20261019_zest_12345678.jpg
    

    That way the subsecond timestamp is preserved and the process does not lose information. (For JPG, ~every camera saves timestamps in EXIF metadata as well, but filenames are ~100x faster to parse, and they are indexed by Everything app.) The datestamp is really nice to quickly get to in a file folder by typing it out (in Windows or most Linux GUIs or terminals).

    The subsecond timestamp is ugly and TMI and I have thought about trimming it down to the second. I’ll have to query my ~10,000 JPEGs and see how often two photos happen in the same second. There’s a certain elegance to every timestamp being the same length, so I probably don’t want to trim some to the minute and others to the second.

    The goal is not perfect disambiguation but creating high enough signal relative to the noise (800k files with “program” in the path is a lot of noise when I’m e.g. searching Everything).

    For the photo case, I will run the rename program after the day ends. So I can take in a list of numerically sorted files (oldest to newest) and output filenames that retain that sorting (admit -> zinc). In cases where I know how many files are being renamed, I’ll check if there are <156, <278, or <2500 (BIP + SLIP) and choose the wordlist accordingly.

    For my situation, cycling the wordlist (zinc -> back to admit) is not a problem after the day has rolled over. It’s slightly annoying if it happens in the span of 4 hours (>156 photos in the span of 4 hours). The root purpose is disambiguation. Photos not taken on the same day are very different, but in the same hour I might be in the same location.


  • Here are the two wordlists, sorted by filename prevalence.

    beige-wordlist-156

    starting
    decorate
    treat
    merit
    multiple
    mandate
    imply
    expect
    explain
    quarter
    ruler
    prepare
    category
    exceed
    describe
    primary
    finding
    agency
    forecast
    admit
    hanger
    hearing
    permit
    dictate
    equip
    careful
    recall
    educate
    identify
    calcium
    ordinary
    evaluate
    length
    quantity
    execute
    likely
    herald
    reaction
    enforce
    closet
    ancient
    industry
    gesture
    often
    champion
    ambition
    ranked
    decision
    grant
    organize
    duration
    dominant
    relate
    meaning
    maximum
    together
    blanket
    fused
    improve
    flexible
    fancy
    aspect
    grasp
    repeat
    gravity
    losing
    engage
    depart
    exclude
    declare
    costume
    observe
    frequent
    increase
    modify
    apart
    making
    crunch
    cubic
    lift
    fraction
    submit
    deal
    fragment
    leader
    bolt
    alto
    belong
    amount
    bracelet
    hesitate
    capacity
    cause
    funding
    trend
    carbon
    floral
    exact
    amuse
    omit
    mixture
    beam
    inherit
    stay
    genre
    herd
    involve
    junior
    emphasis
    briefing
    adorn
    cowboy
    purchase
    dough
    diminish
    brave
    bulb
    devote
    being
    agree
    envelope
    budget
    coal
    fiscal
    much
    civil
    payment
    unfold
    cradle
    zeta
    zeal
    glance
    obtain
    carve
    genuine
    xeno
    aluminum
    chew
    faint
    says
    midst
    ceramic
    buyer
    usual
    phrase
    yield
    ajar
    paid
    enlarge
    mild
    humidity
    furl
    zinc
    depict
    judicial
    zest
    

    beige-wordlist-278

    program
    package
    profile
    source
    extra
    include
    plot
    move
    heat
    type
    install
    valid
    intend
    cover
    index
    huge
    main
    manual
    zone
    language
    level
    object
    class
    network
    item
    group
    kind
    manager
    hand
    various
    bundle
    quick
    plan
    advance
    lend
    round
    provide
    order
    axis
    very
    deploy
    random
    replace
    step
    volume
    simple
    large
    kernel
    review
    method
    expand
    material
    machine
    fact
    metric
    force
    element
    counter
    cards
    render
    inform
    crystal
    single
    should
    require
    regular
    guard
    carpet
    general
    detect
    listen
    result
    gather
    aide
    inside
    depend
    width
    domain
    extend
    true
    dynamic
    have
    flip
    mixed
    course
    living
    join
    capture
    ending
    away
    hybrid
    march
    firm
    echo
    moment
    exchange
    forward
    perfect
    piece
    clock
    greatest
    idea
    beyond
    total
    response
    percent
    credit
    bucket
    clay
    lift
    deal
    together
    repeat
    length
    cubic
    bolt
    alto
    champion
    fused
    apart
    observe
    ancient
    multiple
    discuss
    exact
    treat
    omit
    beam
    making
    stay
    fancy
    herd
    primary
    engage
    herald
    category
    fragment
    grant
    bulb
    cowboy
    expect
    being
    coal
    execute
    fraction
    much
    carbon
    prepare
    finding
    gravity
    organize
    trend
    inherit
    genre
    junior
    cause
    maximum
    depart
    duration
    civil
    leader
    crunch
    purchase
    payment
    quarter
    mixture
    submit
    zeta
    losing
    explain
    budget
    exclude
    zeal
    aspect
    flexible
    obtain
    brave
    hanger
    practice
    amount
    xeno
    estimate
    agree
    equip
    relate
    chew
    reaction
    says
    carve
    remind
    identify
    ruler
    evaluate
    modify
    funding
    floral
    dough
    starting
    describe
    unfold
    costume
    imply
    briefing
    gesture
    closet
    ancestor
    recall
    decision
    usual
    capacity
    ordinary
    improve
    agency
    yield
    phrase
    amuse
    belong
    envelope
    ajar
    cradle
    enforce
    hearing
    faint
    easel
    increase
    paid
    declare
    likely
    meaning
    decorate
    ambition
    blanket
    formal
    steady
    mild
    industry
    merit
    emphasis
    fiscal
    glance
    forecast
    careful
    often
    genuine
    furl
    quantity
    ceramic
    overall
    involve
    permit
    exceed
    ranked
    bracelet
    zinc
    endorse
    enlarge
    helpful
    realize
    buyer
    zest
    admit
    aluminum
    devote
    midst
    depict
    indicate
    dictate
    frequent
    mandate
    grasp
    dominant
    calcium
    diminish
    educate
    humidity
    hesitate
    adorn
    judicial
    

    You can alphabetize them at any number of sites such as https://wordcounter.net/alphabetize