I have the following folder structure:
parent
├── child1
├── child2
└── child3
└── childofchild
└── childofchildofchild
└── file.txt
I want to move childofchildofchild into a new folder, but keep the structure preceding it so the end result would be the following:
newfolder
└── child3
└── childofchild
└── childofchildofchild
└── file.txt
Edit: I need the files removed from the original folder, not duplicated.