Batch processing or maybe something else??

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
boowho
Posts: 7
Joined: Sat Nov 24, 2018 10:55 pm

Batch processing or maybe something else??

Post by boowho »

HI:

I need to be able to search for all directories name "AAA" (for example). Then do an open path on each directory found,
and finally copy all files/dirs found in the parent directory (of each "AAA" directory) to another drive.

Is there a way to automate this? I'm somewhat literate with power shell, etc.... If that would help.

Thanks

Boowho
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: Batch processing or maybe something else??

Post by NotNull »

There is the ES.exe command-line utility that makes this easy:

Code: Select all

es.exe "AAA" | gci | % {copy $_.FullName  "X:\different folder\" -whatif }
(Just an example; not tested. You might have to send the output of ES.exe to a (UTF-8) file first to bypass console limitations (codepage ..) if you are using "strange" unicode characters)
boowho
Posts: 7
Joined: Sat Nov 24, 2018 10:55 pm

Re: Batch processing or maybe something else??

Post by boowho »

Thanks. I'll try what you suggest.

Boowho
Post Reply