search for items in a specific directory structure

Soldato
Joined
7 Aug 2004
Posts
11,259
Hi all, as title I wish to get all my jpg files within a certain directory structure only? For example:

\\folder\folder *.jpg

and NOT any jpg files from the '\\folder'

Any ideas on how to do this ?

Windows 8.1
 
Cant you just use windows search on the folder below \\Folder\

or you can try powershell
Get-ChildItem -Path "C:\Temp\" -Recurse -Filter "*.jpg*"

or Treesize

There is another thread in this section very similar
 
Yeah tried windows, didn't seem to work properly, each '\\folder\folder' is in a bunch of differently named folders above the other one, so \\random name\folder\folder

Not a powershell expert, how would I do that syn3rgy with the above in mind ?

thanks
 
if you go to the start menu and start typing "powershell" it should come up

you can also go to teh command prompt and type "powershell" and it will change it from C:\ to PS c:\ and then just past in that command, obviously with changing the details
 
Simplest way surely (unless I've misread this) would be to just go to that folder and from the command prompt do: dir /b *.jpg > C:\whatever.txt
 
Back
Top Bottom