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
Batch processing or maybe something else??
Re: Batch processing or maybe something else??
There is the ES.exe command-line utility that makes this easy:
(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)
Code: Select all
es.exe "AAA" | gci | % {copy $_.FullName "X:\different folder\" -whatif }
Re: Batch processing or maybe something else??
Thanks. I'll try what you suggest.
Boowho
Boowho