grep command helpful during renaming and relinking