1
I work on a linux system with bash 4.x where I frequently find myself navigating different copies of very deep (and large) file directory structures. However, in reality I only need to access a handful of the directories for my day-to-day work.
I would love to have a way to navigate into the correct path without memorizing or typing out the destination completely. Is there a tool that would allow me to register relative bookmarks?
For example somewhere in the path prefix is the pattern
*/id_number/foo/
where foo is a unique indicator that I am inside one of several possible work directories specified by id_number. I would like to bookmark directories relative to foo and then type
cmd bar
where bar would auto expand into a list of bookmarks matching a pattern and maybe a tool for selecting which one to use. I am sure other user interfaces would suffice as well.
I would consider switching my shell to zsh or some alternative if this is necessary to obtain the necessary work flow.
Thanks,
SetJmp
Why not add links to those folders in your home directory? Type
man ln
in your shell to find out how. – Nifle – 2014-10-16T17:46:47.533There are multiple replicas of id_number in the path. They come and go over time, and which one I am using varies from moment to moment. So instead, I propose starting with the assumption that my working directory is already underneath foo somewhere, and I can infer the rest of the info dynamically. – Setjmp – 2014-10-16T17:52:42.037
updatedb
/locate
? – Cyrus – 2014-10-16T20:17:40.957