Update synopsis and description

This commit is contained in:
Markus Fleschutz
2021-10-04 21:29:23 +02:00
parent a1ec7f0183
commit 79497e5e00
260 changed files with 598 additions and 552 deletions

View File

@ -1,8 +1,8 @@
<#
.SYNOPSIS
play-files.ps1 [<pattern>]
.DESCRIPTION
Plays the given audio files (supporting MP3 and WAV format)
.DESCRIPTION
play-files.ps1 [<FilePattern>]
.EXAMPLE
PS> ./play-files *.mp3
.NOTES
@ -11,10 +11,10 @@
https://github.com/fleschutz/PowerShell
#>
param([string]$Pattern = "*")
param([string]$FilePattern = "*")
try {
$Files = (get-childItem -path "$Pattern" -attributes !Directory)
$Files = (get-childItem -path "$FilePattern" -attributes !Directory)
"Playing $($Files.Count) files ..."
foreach ($File in $Files) {
if ("$File" -like "*.mp3") {