I have this foldertree tree: /dir1/dirA/dirB /dir2/dir* I want the foldertree to become: /dirA/DirB /dir* Is this possible on the commandline? Any idea is welcome Thanks!