Get-MediaInfo icon indicating copy to clipboard operation
Get-MediaInfo copied to clipboard

How to include all subfolders?

Open Rakly3 opened this issue 2 years ago • 2 comments

How do I generate a gridview that includes all subfolders, or look for duplicate videos including all subfolders?

Thanks!

Rakly3 avatar Jun 11 '22 09:06 Rakly3

There is a -Recurse flag in Get-ChildItem.

stax76 avatar Jun 11 '22 10:06 stax76

There is a -Recurse flag in Get-ChildItem.

Hi stax76, thanks for the reply! It works, but now I ran into another issue I hope you know a 'fix' or workeround for:

Out-File : The specified path, file name, or both are too long. The fully qualified file name must be less than 260 characters, and the directory name must be less than 248 characters.

Out-File : Could not find a part of the path

The files and paths are not longer than 248 or 260, but maybe the temp json file is? Is it possible to truncate the output files?

Thanks again!

Rakly3 avatar Jun 11 '22 11:06 Rakly3