We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 46dfc61 commit fa9cb7eCopy full SHA for fa9cb7e
audioSplitter.ps1
@@ -28,6 +28,12 @@ write-host "`r"
28
#grab the items in the input folder
29
$videos = Get-ChildItem -Path $inputVids -Recurse
30
31
+if ($videos.count -eq 0) {
32
+ write-host "There are no files in the input folder. Exiting!" -ForegroundColor Red
33
+ psPause
34
+ exit
35
+}
36
+
37
write-host "`n Number of videos:" $videos.count -ForegroundColor Yellow
38
Write-host "overwriting output files: $ow"
39
write-host "Ready to go? If not, exit or hit ctrl+c"
0 commit comments