A lot of times when I'm unzipping files, I'll get a messed up directory structure that looks like /home/bob/myfolder/myfolder/otherstuff. Where the only thing that the first myfolder contains is another directory named myfolder.
How could I collapse this path to get /home/bob/myfolder/otherstuff? I.e. I want to remove the useless in-between link.
cd,mkdir,cp,mvetc.... – drN Oct 28 '12 at 23:05