Posts

Showing posts from December, 2009

Google Ads

Simple Backup Script with Rsync

Rsync can be used for a numerous tasks. One of them is to create backups of your valuable data. I have used Rsync as my simple backup of my home directory to an external hardisk drive for some time. The script below simply create a copy of what i want to backup to an external HDD. However, i did not use incremental backup method provided by Rsync. I use the "delete" and "update" switch to enable Rsync to overwrites older data and delete obsolete data in my backup drive. This will eliminate significant amount of time taken if your whole data that need to be backup is huge. Most of the time i run this backup manually because i will only backup if i plug in my external HDD to my PC. However, this script can also be use to scheduled it into cron and backup data to a separate internal HDD or volumes/partition. -----Start----- #!/bin/bash #INITIALIZATION #Log file name NOW=$(date +"%d%b%y") LOGFILE="$NOW.log" LOGDIR= specify your log fil

Customizing Kino MP4 Export Profiles

Kino is a great video editing tool. Sometimes the MP4 export profiles does not provide me with the right encoding configuration i need. Being in Linux environment, everything can be customize. Create this path if there is none. $HOME/kino/exports Copy any scripts that you desire to customize from /usr/share/kino/scripts/export or /usr/local/share/kino/scripts/export to $HOME/kino/exports . Note: Be aware of dependent scripts. For example, all ffmpeg scripts requires ffmpeg_utils.sh to be copied over as well. Or else it wouldn't work. The only way to be sure of is to open the scripts using text editor and look for any command calling out other scripts. Modify the copied scripts according to your liking.

Install Picasa Windows in Linux

[Update 20th Aug 2010] Install method works with Picasa v3.8 [Update 14th Apr 2012] Install method works with Picasa v3.9 [Update 14th Jan 2013] Download link for Picasa for Linux deb install package file Google has done it again. They have released a great Photo organizer + editor + uploader + cool etc ... But! Yes, there's always a but. Picasa developers in Google left Linux users (one of them is me) in high and dry.

Understanding ext4 filesystem

Supports max volume (it's partition to those windows geeks) of 1 Exbibytes . Supports max file size of 16 Tebibytes . Reduced file fragmentation. Better large file performance. Backward compatibility that enables ext2 and ext3 file system to be mounted as ext4 file system. Supports max of 64,000 subdirectories that a directory can contain. (ext3 can supports up to 32,000) Online defragmentation possible in future. Faster file system checking. References: ext4(wikipedia) Journaling File System(wikipedia) Comparison of file system(wikipedia) FAQ for ext2, ext3 and ext4