(optional but recommended) – copy the original folder to a temporary location before bulk operations.
# Place this in the folder containing the file Get-ChildItem -Filter "*today*.mp4" | ForEach-Object $old = $_.Name if ($old -match "^(\w+)-(\d+)-(\w+)-(\w+)\.today(\d2)-(\d2)-(\d2)\s*Min\.(\w+)$") $collection = $matches[1].ToUpper() $duration = $matches[2] $type = $matches[3].ToUpper() $genreRes = $matches[4].ToUpper() # split genreRes into genre + resolution (assumes last two letters are resolution) $genre = $genreRes.Substring(0, $genreRes.Length-2) $res = $genreRes.Substring($genreRes.Length-2) $date = "20$matches[7]-$matches[5]-$matches[6]" # YY-MM-DD → YYYY-MM-DD $ext = $matches[8] apak-287-rm-javhd.today02-09-21 Min
Test the script on a copy first (or add echo before mv / Rename-Item ). (optional but recommended) – copy the original folder
( echo or -WhatIf ) to verify the new names before actually renaming. (includes ffprobe ): Since there is no verifiable
(includes ffprobe ):
Since there is no verifiable public information or established "long article" content for this exact keyword, a factual article cannot be generated without further context.
: This likely refers to the content type, with "JAV" standing for Japanese Adult Video. "JAVHD" specifically might imply that the content is high-definition.