mirror of
https://github.com/fleschutz/PowerShell.git
synced 2025-08-10 05:17:44 +02:00
Remove the #!/usr/bin/pwsh line
This commit is contained in:
@ -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 = @()
|
||||
|
Reference in New Issue
Block a user