Here’s how to extract a TAR file to a different location:

$ tar -C /usr/local/apache2/htdocs/ -xvf /home/mytarfile.tar

Explanation:

-C is the option to specify where to extract your TAR file.

/usr/local/apache2/htdocs/ is the specified path where to extract your TAR file.

-xvf are the options used to extract the TAR file

/home/mytarfile.tar is the tar file itself.

Disclaimer: The options i use are based on how the file was TAR-ed. In this case, it was:

$ tar -cvf mytarfile.tar *

{ 0 comments }

I keep on forgetting on how to run an SQL file from the command line. So here’s how you run an SQL file from the command line. :)

shell> mysql db_name < script.sql > output.tab

{ 0 comments }

Ronnel + Leslie SDE

January 29, 2011

In case you’re wondering what SDE means, it stands for Same Day Edit. Last January 8 2011, in Bacolod City, Philippines, I tried my hand at making an SDE for Ronnel and Leslie for their wedding day. It was quite a challenge considering that it was my first time and I didn’t know what to [...]

Read the full article →

Ian + Giselle E-Session

January 29, 2011

Practiced taking and editing a video. I used a Canon 7D and used iMovie for editing the video. Was quite disappointed with the fact that in iMovie there was a glitch. The glitch was that when you slow down a clip to speeds other than what they have preset, the sound on some of the [...]

Read the full article →

1st Post!

January 24, 2011

1st Post! Finally started to post stuff. This blog is gonna be about reminders, memories and information. Enjoy!

Read the full article →