finally figured out abbreviation of parent dirs using on sed pattern