Since I work with imagemagick in a terminal I need to switch between those two directories a lot - in the CLI.
So for this work process I do the following:
Code: Select all
cd ~/images
cd ~/animations
Now I can switch between these two only by simply entering
Code: Select all
cd -
It is way faster than using arrow up and enter too ( the trouble with that is that you may have entered a lot of other (imagemagick)commands so you will have too look for a while.)
All you need to do is enter cd - and you are in /home/you/images and enter it again and you will be in /home/you/animations.
It is as easy as that
cd - will only switch between two directories (which is what we want in this case). You will have to remember to make a space between "cd" and "-" so you might want to make an alias so that cd- works too.