Wes Ellis./ a personal notebook
Technology. Stories. Side projects.
A few things worth writing down.

A thread · 5 notes · Script Library

File wrangling.

Moving, archiving, comparing and organizing big piles of files without losing any.

  1. 1
    Script Library2 min read · Script

    Flatten a Messy Media Library into A-Z Bucket Folders

    A PowerShell script that sorts every show and movie in a folder into flat A-Z buckets, skips anything that would collide, and dry-runs honestly.

  2. 2
    Script Library2 min read · Script

    Zip Up Folders Nobody Has Touched in Months

    Find project folders that haven't changed in N days, zip each one to an archive location with the date of its last change, verify it, and optionally clear out the original.

  3. 3
    Script Library2 min read · Script

    Move a List of Folders to a New Drive with PowerShell and Robocopy

    Hand a list of folders from several drives to robocopy in one go, keep their structure on the new drive, catch name collisions before anything moves, and get a log per folder.

  4. 4
    Script Library2 min read · Script

    Check Whether Two Files (or Two Folders) Are Really Identical

    Compare files, whole folder trees, or a download against its published checksum with Get-FileHash, and get back a clear Match or Different for every file.

  5. 5
    Script Library2 min read · Script

    Take Control of Explorer's Preview Pane with PowerShell

    List the preview handlers installed on a PC, see which one each file type uses, and point extensions like .log, .ps1 or .json at the handler you want.