Rename to list-dir.ps1

This commit is contained in:
Markus Fleschutz 2021-04-20 16:59:34 +02:00
parent fdd695f136
commit 505b981eb6
4 changed files with 8 additions and 7 deletions

View File

@ -72,13 +72,13 @@ list-cheat-sheet.ps1, lists the PowerShell cheat sheet
list-city-weather.ps1, lists the current weather of cities worldwide (east to west) list-city-weather.ps1, lists the current weather of cities worldwide (east to west)
list-commits.ps1, lists all commits in the current/given Git repository list-commits.ps1, lists all commits in the current/given Git repository
list-clipboard.ps1, lists the contents of the clipboard list-clipboard.ps1, lists the contents of the clipboard
list-dir-tree.ps1, lists a directory tree list-dir.ps1, lists the directory content (formatted in columns)
list-dir-tree.ps1, lists the directory tree content
list-drives.ps1, lists all drives list-drives.ps1, lists all drives
list-environment-variables.ps1, lists all environment variables list-environment-variables.ps1, lists all environment variables
list-empty-dirs.ps1, lists empty subfolders within the given directory tree list-empty-dirs.ps1, lists empty subfolders within the given directory tree
list-empty-files.ps1, lists empty files within the given directory tree list-empty-files.ps1, lists empty files within the given directory tree
list-files.ps1, lists all files in the given folder and also in every subfolder list-files.ps1, lists all files in the given folder and also in every subfolder
list-formatted.ps1, lists the current working directory formatted in columns
list-fritzbox-calls.ps1, lists the FRITZ!Box calls list-fritzbox-calls.ps1, lists the FRITZ!Box calls
list-fritzbox-devices.ps1, lists FRITZ!Box's known devices list-fritzbox-devices.ps1, lists FRITZ!Box's known devices
list-hidden-files.ps1, lists hidden files within the given directory tree list-hidden-files.ps1, lists hidden files within the given directory tree

1 Script Description
72 list-city-weather.ps1 lists the current weather of cities worldwide (east to west)
73 list-commits.ps1 lists all commits in the current/given Git repository
74 list-clipboard.ps1 lists the contents of the clipboard
75 list-dir-tree.ps1 list-dir.ps1 lists a directory tree lists the directory content (formatted in columns)
76 list-dir-tree.ps1 lists the directory tree content
77 list-drives.ps1 lists all drives
78 list-environment-variables.ps1 lists all environment variables
79 list-empty-dirs.ps1 lists empty subfolders within the given directory tree
80 list-empty-files.ps1 lists empty files within the given directory tree
81 list-files.ps1 lists all files in the given folder and also in every subfolder
list-formatted.ps1 lists the current working directory formatted in columns
82 list-fritzbox-calls.ps1 lists the FRITZ!Box calls
83 list-fritzbox-devices.ps1 lists FRITZ!Box's known devices
84 list-hidden-files.ps1 lists hidden files within the given directory tree

View File

@ -106,11 +106,11 @@ Mega Collection of PowerShell Scripts
* [go-root.ps1](Scripts/go-root.ps1) - go to the root directory (C:\ on Windows) * [go-root.ps1](Scripts/go-root.ps1) - go to the root directory (C:\ on Windows)
* [go-scripts.ps1](Scripts/go-scripts.ps1) - go to the PowerShell Scripts folder * [go-scripts.ps1](Scripts/go-scripts.ps1) - go to the PowerShell Scripts folder
* [inspect-exe.ps1](Scripts/inspect-exe.ps1) - prints basic information of the given executable file * [inspect-exe.ps1](Scripts/inspect-exe.ps1) - prints basic information of the given executable file
* [list-dir-tree.ps1](Scripts/list-dir-tree.ps1) - lists a directory tree * [list-dir.ps1](Scripts/list-dir.ps1) - lists the directory content (formatted in columns)
* [list-dir-tree.ps1](Scripts/list-dir-tree.ps1) - lists the directory tree content
* [list-empty-dirs.ps1](Scripts/list-empty-dirs.ps1) - lists empty subfolders within the given directory tree * [list-empty-dirs.ps1](Scripts/list-empty-dirs.ps1) - lists empty subfolders within the given directory tree
* [list-empty-files.ps1](Scripts/list-empty-files.ps1) - lists empty files within the given directory tree * [list-empty-files.ps1](Scripts/list-empty-files.ps1) - lists empty files within the given directory tree
* [list-files.ps1](Scripts/list-files.ps1) - lists all files in the given folder and also in every subfolder * [list-files.ps1](Scripts/list-files.ps1) - lists all files in the given folder and also in every subfolder
* [list-formatted.ps1](Scripts/list-formatted.ps1) - lists the current working directory formatted in columns
* [list-hidden-files.ps1](Scripts/list-hidden-files.ps1) - lists hidden files within the given directory tree * [list-hidden-files.ps1](Scripts/list-hidden-files.ps1) - lists hidden files within the given directory tree
* [list-unused-files.ps1](Scripts/list-unused-files.ps1) - lists unused files in a directory tree * [list-unused-files.ps1](Scripts/list-unused-files.ps1) - lists unused files in a directory tree
* [list-workdir.ps1](Scripts/list-workdir.ps1) - lists the current working directory * [list-workdir.ps1](Scripts/list-workdir.ps1) - lists the current working directory

View File

@ -1,7 +1,7 @@
#!/usr/bin/pwsh #!/usr/bin/pwsh
<# <#
.SYNTAX list-formatted.ps1 [<directory>] .SYNTAX list-dir.ps1 [<directory>]
.DESCRIPTION lists the current working directory formatted in columns .DESCRIPTION lists the directory content formatted in columns
.LINK https://github.com/fleschutz/PowerShell .LINK https://github.com/fleschutz/PowerShell
.NOTES Author: Markus Fleschutz / License: CC0 .NOTES Author: Markus Fleschutz / License: CC0
#> #>

View File

@ -26,4 +26,5 @@ function prompt { "`n💲 " } # result is: 💲
del alias:pwd -force del alias:pwd -force
set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory set-alias -name pwd -value list-workdir.ps1 # pwd = print working directory
set-alias -name ll -value get-childitem # ll = list long set-alias -name ll -value get-childitem # ll = list long
set-alias -name lsf -value list-formatted.ps1 # lsf = list directory formatted del alias:ls -force
set-alias -name ls -value list-dir.ps1 # ls = list directory