Last active
November 27, 2021 08:44
-
-
Save pkutaj/9d668836f9ad5df19f59fff7baf552b3 to your computer and use it in GitHub Desktop.
powershell command for getting files in subfolders in a table with parent folder in another column
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
dir *.mp4 -rec -file | | |
select-object @{ | |
Name="folder"; | |
Expression = {Split-Path (Split-Path $_.Fullname -parent) -leaf} | |
},name |
Author
pkutaj
commented
Nov 27, 2021
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment