Skip to content

Instantly share code, notes, and snippets.

View Whil-'s full-sized avatar
👴
Thinking

Gustav Whil-

👴
Thinking
View GitHub Profile
@Whil-
Whil- / Rename-Subtitles.ps1
Last active July 20, 2024 15:27
Script that can copy subtitles from /Subs or /Subtitles folders to parents, so that Plex can work with them. (https://www.reddit.com/r/PleX/comments/fpp2f2/any_way_to_have_plex_use_the_subs_folder_or/)
param(
[Parameter(Mandatory=$true)]
[string]$PathToMediaFolder
)
function Copy-IfLarger {
param(
[Parameter(Position=0, Mandatory=$true)]
[string]$sourceFilePath,
[Parameter(Position=1, Mandatory=$true)]
@Whil-
Whil- / org-file-link-to-from-id-link.el
Created April 9, 2022 10:00
org-file-link-to-from-id-link.el
@Whil-
Whil- / org-gkroam-link-to-from-id-link.el
Last active May 25, 2023 15:05
Helper functions to translate ID-links back and forth to gkroam-links