Git Pull Multiple Repositories

If you are like me you read code from very interesting projects. You also like to be up-to-date with the projects. I have learnt a lot from reading other people projects. Some of my favorites include:

To keep up with the code you need to do multiple git pull commands on the different repositories. To help me do this I use a bash script to git pull from the multiple remote repositories.

for i in */.git; do (
echo $i;
cd $i/..;
git pull;
); done

The script loops through each directory in the current directory that is a git repository and runs the git pull command.

The Volume Boot Has Only 0 Bytes Disk Space Remaining

I updated my Ubuntu Desktop OS over the Easter weekend. After the update I static getting a error dialog window with the message “The volume boot has only 0 bytes disk space remaining”. After some research I discovered that the problem was that I had multiple Linux Kernel Images on my machine after the update which was consuming the space. To list the available linux images I did:

dpkg --get-selections | grep "linux-image-[[:digit:]].*" | tr "\t" ";" | cut -d ";" -f1

The output:

linux-image-3.19.0-33-generic
linux-image-3.19.0-43-generic
linux-image-3.19.0-47-generic
linux-image-3.19.0-49-generic
linux-image-3.19.0-51-generic
linux-image-3.19.0-56-generic

So there we go I have many linux images. I removed the first four and left the last two:

sudo apt-get purge linux-image-3.19.0-33-generic linux-image-3.19.0-43-generic linux-image-3.19.0-47-generic linux-image-3.19.0-49-generic