mirror of
https://github.com/fleschutz/PowerShell.git
synced 2024-11-08 09:04:18 +01:00
Added empty-dir.ps1
This commit is contained in:
parent
847be37772
commit
a4edd03857
@ -8,6 +8,7 @@ List of Scripts
|
||||
The following PowerShell scripts can be found in the Scripts/ subfolder:
|
||||
|
||||
* [download.ps1](Scripts/download.ps1) - downloads the file/directory from the given URL
|
||||
* [empty-dir.ps1](Scripts/empty-dir.ps1) - empties the given directory
|
||||
* [exe_info.ps1](Scripts/exe_info.ps1) - prints basic information of the given executable file
|
||||
* [lscmdlets.ps1](Scripts/lscmdlets.ps1) - lists all PowerShell cmdlets
|
||||
* [lsmods.ps1](Scripts/lsmods.ps1) - lists all PowerShell modules
|
||||
|
10
Scripts/empty-dir.ps1
Normal file
10
Scripts/empty-dir.ps1
Normal file
@ -0,0 +1,10 @@
|
||||
#!/snap/bin/powershell
|
||||
::
|
||||
:: Syntax: empty-dir.ps1 <dir>
|
||||
:: Description: Empties the given directory. The content is removed!
|
||||
:: Author: Markus Fleschutz
|
||||
:: License: CC0
|
||||
::
|
||||
|
||||
:: TODO
|
||||
exit 0
|
Loading…
Reference in New Issue
Block a user