bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: to - Bookmark file system locations in bash on POSIX-like systems


From: Domingo Ignacio Galdos
Subject: Re: to - Bookmark file system locations in bash on POSIX-like systems
Date: Fri, 5 Apr 2013 11:02:50 -0400

Actually, that seems like kind of a good point to me. I think I may dabble
with your tool!


On Thu, Apr 4, 2013 at 9:51 PM, Mara Kim <address@hidden> wrote:

> Hi Domingo,
>
> The biggest benefit is that it is just plain easier than managing a
> directory of symbolic links on your own. I am extremely lazy.
>
> Here is an example use case. At the end of a work day, I like to bookmark
> the folder I am working in on my cluster with
>
> to -b work
>
> The next day, I can come back in and use
>
> to work
>
> To get back on track. Note that this process is the same even if the
> 'work' bookmark already exists, while doing things by hand would throw an
> error without first removing the old link. Also you would need to remember
> to use cd -P every time if you wanted to keep things unaliased.
>
> Sure you could do it all by hand--in fact, the script essentially does
> those ln operations you mentioned, plus some additional safety checks--but
> if you are going to be doing a certain series of operations repeatedly, why
> not automate them?  You are more likely to make a mistake typing things by
> hand every time.
>
> Mara
> On 2013-04-04 21:05, Domingo Ignacio Galdos wrote:
> > Hn, I use a similar tool called ln
> >
> > In all seriousness what value does or could a tool like this add above
> ln?
> >
> > ln -s ~/some/long/path ~/bookmark
> > cd ~/bookmark
> > cd ~/bookmark/nested/tab/completion
> > rm ~/bookmark
> >
> > Sorry I don't mean that in a snarly way I am curious if you can come up
> or
> > have with any additional new ideas that go beyond this...
>
> I'm not the author, but I have plenty of places I want to bookmark, but
> have no
> interest in having a symlink to it cluttering my home folder. For example,
> git
> repositories that I frequently access.
>


reply via email to

[Prev in Thread] Current Thread [Next in Thread]