Join Chapter Files into One Manuscript with PowerShell
Stitch a folder of Markdown or text chapter files into one full manuscript, in the right order, with a title block and a word count that's never out of date.
Thread: Tools for the writing desk ↗Tagged · 37 notes
Everything tagged File Management, wherever it's filed, newest first.
Stitch a folder of Markdown or text chapter files into one full manuscript, in the right order, with a title block and a word count that's never out of date.
Thread: Tools for the writing desk ↗Group the USA, Europe, Japan and revised versions of each game in a folder of backups, keep the one you'd actually play, and move the rest to a _duplicates folder.
Thread: Keeping a media library tidy ↗Moves game files into Must-Play, Great, Good, Average and Niche folders using a CSV of titles and scores, with series fallbacks, so a huge backlog shows you the best stuff first.
Thread: Keeping a media library tidy ↗Moves game files with keywords like (Beta), (Proto), Mahjong or (Germany) in their names into a review folder, keeping their subfolders, so you can trim a huge set down to what you'd actually play and change your mind later.
Thread: Keeping a media library tidy ↗Moves loose game files into one folder per title, worked out from the file name, so a game's base file, updates and DLC end up together. Built for Switch backups, and it works for anything with a consistent naming pattern.
Thread: Keeping a media library tidy ↗The manufacturer-then-system folder layout I use for game backups, the file extensions each system uses, the systems in my own collection, the ones I'd add next, and the cases where a later release beats the original.
Thread: Keeping a media library tidy ↗Move every loose file in a folder into a category subfolder by extension, clear out stale partial downloads and empty folders, and preview all of it with -WhatIf first.
Thread: File wrangling ↗Renames game files to "(GENRE) Title (REGION) (NOTES)" using a CSV of titles and genre codes you keep, with short region codes, note codes for betas and hacks, and a list of everything it couldn't place.
Thread: Keeping a media library tidy ↗The file naming standard I use for my game backups, with a four-letter genre code at the front so a folder sorts itself by type, plus the full code list, region and note codes, and examples.
Thread: Keeping a media library tidy ↗Strip dump flags like [!] and [b1], turn (U) into (USA), tidy revision tags and optionally add release years from a CSV, with a before-and-after list of every rename.
Thread: Keeping a media library tidy ↗Walk a folder once and get every subfolder's file count and total size in tree order, ready to sort, filter or save as a CSV.
Thread: File wrangling ↗Move CBZ and CBR files, or whole series folders, into genre or decade folders using a series list you keep in a spreadsheet, then list what didn't match and check nothing went missing.
Thread: Keeping a media library tidy ↗Shrink a folder of photos or screenshots to WebP with cwebp or NConvert, keep the originals unless you say otherwise, and see how much each file saved.
Thread: File wrangling ↗A Python desktop app that converts PDF, CBR, CBZ and CB7 comics into smaller WebP-based CBZ files and can combine single issues into trade paperback volumes.
Thread: Archive conversion workshop ↗Check every book and comic file's real format from its first few bytes, rename the ones that lie, find identical copies by hash, and file whatever is loose in the library root.
Thread: Keeping a media library tidy ↗Write the folders you want as an indented outline, or paste the output of tree, and create the whole structure in one go without moving a single file.
Thread: File wrangling ↗Epic Games Transfer is my open-source PowerShell and Python tool that rewrites the Epic Games Launcher's manifest files after you move your games, so the launcher finds them instead of downloading them again.
Thread: Games and gear ↗Six folders, four capital letters each, one tidy row. How I keep my browser bookmarks from turning into a junk drawer.
Thread: Games and gear ↗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.
Thread: File wrangling ↗Use PowerShell's own parser to catch typos and broken brackets in a whole folder of scripts, before anything runs.
Thread: PowerShell craft ↗Install a product key, activate it and confirm the edition actually changed, without the key ever landing in a script file or a log.
Thread: Packaging with ConfigMgr ↗When Graph cmdlets start throwing assembly errors, it's almost always mixed module versions. This removes every copy and puts back one matching set.
Thread: The Microsoft Graph toolbox ↗Turn a folder of CBR comics into CBZ with 7-Zip, and optionally shrink the pages to WebP with cwebp or ImageMagick, testing every file before anything is replaced.
Thread: Archive conversion workshop ↗The folder layout and naming rules I use for a pile of old Mac software, and the small PowerShell script that does the renaming without losing the original names.
Thread: The retro workbench ↗Repack .7z files as plain Deflate ZIPs with UTF-8 file names, including password-protected ones, and test every result before the original goes anywhere.
Thread: Archive conversion workshop ↗Clean old user profiles off shared PCs and servers through Win32_UserProfile, so the folder and the registry entry go together and nobody gets a TEMP profile.
Thread: Spring cleaning for Windows PCs ↗Find the old Outlook .ost files nobody is using any more and reclaim the space, without touching the ones Outlook has open.
Thread: Spring cleaning for Windows PCs ↗Clear old temp files from the usual suspects and run Disk Cleanup unattended, with an age threshold and a -WhatIf that shows how much you'd get back.
Thread: Spring cleaning for Windows PCs ↗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.
Thread: File wrangling ↗On Windows 10 and 11 there's no Windows Update logging to switch on. The trick is collecting it, and this script does that in one zip per machine.
Thread: Windows Update, untangled ↗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.
Thread: File wrangling ↗What ClientOtherError really counts in Azure Files metrics, how to find which calls cause it, and what to look for in the client library code making them.
Thread: Troubleshooting notes ↗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.
Thread: File wrangling ↗Repack ZIPs as 7z, see exactly how much space each one saved, and keep the ZIP when the 7z wouldn't be any smaller.
Thread: Archive conversion workshop ↗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.
Thread: File wrangling ↗Integrity-test every ZIP, 7z, RAR and TAR in a folder, then optionally repack the good ones into a single format. Broken archives never get touched.
Thread: Archive conversion workshop ↗Stop the spooler, clear out the wedged job files, and bring it back up, with -WhatIf and an option to leave recent jobs alone.
Thread: Spring cleaning for Windows PCs ↗