Thursday 24 January 2013

Recovering corrupted files in Linux

There are many compression technique that you use and compress a file in Linux.

Few techniques are gzip, tar and lot more.

At times when you decompress/uncompress a file after a long time you may get few errors like.

"Unexpected EOF." "Files not in gzip format" or "Files not in gz format" something like this.

This is because the files may be corrupted.

There is a recovery tool kit and it is mainly for gzip but this can also be used for tar.gz too.

STEPS FOR RECOVERY :

Go to the link http://www.urbanophile.com/arenn/coding/gzrt/

And click on the gzrt-0.6.tar.gz link, then gzrt-0.6.tar.gz file will be downloaded to your machine.

Go to the specified location and do the following.

$ tar -xzvf gzrt-0.6.tar.gz
$ cd gzrt-0.6
$ make

Then copy the corrupted file to this folder and execute the following command.

$./gzrecover ABC.gz

Then the recovered file will be in the name of ABC.recovered

Hence there is no problem in dealing with corrupted files in Linux any more. :)

Tuesday 22 January 2013

Downloading videos in Linux

There is a simple software (clip grab) that allows you to download online videos in Linux.

Execute the following commands in your terminal.

############################

sudo add-apt-repository ppa:clipgrab-team/ppa

sudo apt-get update

sudo apt-get install clipgrab

##########################

The software is now installed , to run the software execute the following command

#############

clipgrab

################

Steps to download :

1. Go to the "SETTINGS" tab in the GUI of Clip grab and mention the destination path where you need to save the video.

2. Then under downloads tab, Paste the web-link from which u want to download the video.

3. Click the "grab this clip" button.

The video will start getting downloaded in the specified destination.

Thursday 17 January 2013

We are what we think...

"We are what we repeatedly do. Excellence, then, is not an act but a habit"

At the End of the day, we are what we think and do the entire day.

Our thoughts becomes things. So control your thoughts and think only what you want, then its yours at the some point of time.

Have good thoughts, So that only good things happens to you.

Keep smiling and spread the happiness.