Search found 4 matches

by mlitty
11 Aug 2025, 13:59
Forum: Help
Topic: Copy 2 levels of parent directory with files?
Replies: 4
Views: 211

Re: Copy 2 levels of parent directory with files?

I wish FreeFileSync could do this but, in case someone else comes looking or in case it's useful to developers, I worked with ChatGPT to come up with a Windows PowerShell command that does the trick.
Get-ChildItem -Path "." -Directory -Recurse -Filter "output" | ForEach-Object {
$parentName ...
by mlitty
11 Aug 2025, 13:11
Forum: Help
Topic: Copy 2 levels of parent directory with files?
Replies: 4
Views: 211

Re: Copy 2 levels of parent directory with files?

Thank you for responding. You're close.

Yes, the paths are all different and the parent directories of output are all different. The challenge is that I want the different parent directories of the different output folders to copy over as well, without the full directory tree.

Here's a clearer ...
by mlitty
06 Aug 2025, 12:36
Forum: Help
Topic: Copy 2 levels of parent directory with files?
Replies: 4
Views: 211

Copy 2 levels of parent directory with files?

I want to pull the final products of projects out of a tree into a target folder that has the project folder and the output.
It would look like this…

Source
D:*\Admissions\Undergrad Admit\output\*.*
D:*\Student Affairs\Campus Rec\output\*.*
D:*\Advancement\Alumni Affairs\output\*.*


Target
F ...