Bash cd to folder by index