Remove the #!/usr/bin/pwsh line

This commit is contained in:
Markus Fleschutz
2021-04-21 19:53:52 +02:00
parent 7ab2795778
commit 450869a593
184 changed files with 108 additions and 344 deletions

View File

@ -1,5 +1,4 @@
#!/usr/bin/pwsh
<#
<#
.SYNTAX remove-empty-dirs.ps1 [<dir-tree>]
.DESCRIPTION removes all empty subfolders within the given directory tree
.LINK https://github.com/fleschutz/PowerShell
@ -7,9 +6,7 @@
#>
param($DirTree = "")
if ($DirTree -eq "" ) {
$DirTree = read-host "Enter the path to the directory tree"
}
if ($DirTree -eq "" ) { $DirTree = read-host "Enter the path to the directory tree" }
try {
$Folders = @()