This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| echo "BDMV .iso Creation Script" | |
| echo "A script that creates a Movie Bluray ISO for you to run into any blank Bluray. So you can watch your movies and shows from your Bluray in any Player and build your own BluRay Collection" | |
| echo "" | |
| echo "Keep in mind: In a normal BD-R you can only store 25GB of video. Make sure your folder doesnt go past or is near that you might end up with a big .iso (I did not implement a split feature)" | |
| #Tell what the script does | |
| #also tell all files must have all audio tracks and subtitle tracks needed | |
| printf 'This script will basically \n | |
| 1 - Grab all the video files in the folder you gave\n |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #prompts user to insert the files's folder path | |
| $folder_path= Read-Host -Prompt "Folder Path" | |
| #changes current working path | |
| Set-Location $folder_path | |
| #Gets all files in current folder and renames the to their last Written time date | |
| Get-ChildItem | Rename-Item -NewName {$_.LastWriteTime.ToSTring("yyyy-MM-dd-hh.mm.ss")+($_.Extension)} | |
| #file will look something like: yyyy-MM-dd-hh.mm.ss[.extension] |