Skip to main content

Posts

Locally backup your data with rsync

Locally backup your data with rsync              After 1 year later HDD data transfer speed was 70~100 kbps . How should you do with useless HDD ?    I try with following command: rsync -r -t -v -progress --ignore-existing -s [ source] [ destination ] rsync                        a fast, versatile, remote (and local) file-copying tool -r, --recursive This tells rsync to copy directories recursively. See also --dirs ( -d ). Beginning with rsync 3.0.0, the recursive algorithm used is now an incremental scan that uses much less memory than before and begins the transfer after the scanning of the first few directories have been completed. This incremental scan only affects our recursion algorithm, and does not change a non-recursive transfer. It is also only possible when both ends of the transfer are at least version 3.0.0. Some options require rsync to know the full file list, so these options disable the incremental recursion

Remove all thumbs.db files in Ubuntu

Remove all thumbs.db files in Ubuntu following command will be find and delete the "thumbs.db"   find . - iname 'thumbs.db' - exec rm - rfv {} + for more detail about command and switch http://explainshell.com/explain?cmd=find+.+-iname+%27thumbs.db%27+-exec+rm+-rfv+%7B%7D+%2B find  .   - iname  '*.db' | xargs rm -rfv http://explainshell.com/explain?cmd=find+.+-iname+%22*.db%22+%7C+xargs+rm+-rfv

Backup your Raspberry Pi Image

Using dd to backup a PI SD သင္ ၏  Raspberry Pi SD card  ကို  backup  အေနျဖင့္  image file  ျပဳလုပ္ရန္ အဆင့္ဆင့္ ကို ေအာက္ပါအတိုင္းျပဳလုပ္ႏိုင္ပါသည္။ sudo fdisk -l သင္၏  SD card  ကိုစာျဖင့္ေရးမွတ္ထားပါ။ အမ်ားစုကို  /dev/sdb1  ဟုေတြ့ျမင္ရပါမည္ ။   မွတ္ခ်က္ ။ ။ သင္ backup  လုပ္လိုေသာ  SD card  မွ အပ အျခား  SD Card / Memory Stick  မ််ားကို သင္၏စက္ႏွင့္မခ်ိတ္ဆက္ထားရ။ ေအာက္ေဖာ္ျပပါ  command  သည္  SD card  ကို  image file  ျပဳလုပ္ႏိုင္ပါသည္ ။ sudo dd bs=4M if=/dev/sdb | gzip > /home/ your_username /image`date +%d%m%y`.gz *** your_username =  သင္၏  user account   အမည္ ေအာက္ေဖာ္ျပပါ  command  သည္  image file  ကို  list ျပဳလုပ္ႏိုင္ပါသည္ ။ ls | grep image ေအာက္ေဖာ္ျပပါ  command  သည္  backup image file  ကို  SD card  သို့  restore  ျပန္လည္ျပဳလုပ္ႏိုင္ပါသည္ ။ sudo gzip -dc /home/your_username/image.gz | dd bs=4M of=/dev/sdb  

Application for Raspberry Pi

Raspberry Pi တြင္ ထည့္သြင္းအသုံးျပဳႏိုင္ေသာ Applications မ်ား Raspbian “wheezy” ေပၚတြင္ applications မ်ားထပ္မံထည့္သြင္း အသုံးျပဳႏိုင္ပါသည္။ Applications မ်ားထည့္သြင္း မွဳ မျပဳလုပ္မွီ- Terminal ကို ဖြင့္၍ ေအာက္ပါအတိုင္း update, upgrade ျပဳလုပ္ႏိုင္ပါသည္။ sudo apt-get install update; sudo apt-get upgrade ျပီးေနာက္ applications install ျပဳလုပ္လိုပါက- sudo apt-get install <packagename> <packagename> ေနရာတြင္ ေအာက္ေဖာ္ျပပါ Application Name မွ မိမိႏွစ္သက္ ရာ applicationsကို ထည့္သြင္းရမည္။ ေအာက္ေဖာ္ျပပါ applications မ်ားကိုထည့္သြင္းအသုံးျပဳႏိုင္ပါသည္-                                          Applications for Raspberry Pi Sr.No Application Name Program Descriptions Remarks 1 abiword Word Processor 2 amsn MSN messenger Slow to open/ Close but works 3 audacity Audio Editor/Player 4 avifile-player Useless for video but plays WMA +MP3 music 5 brandy BBC BASIC V Programming Type 'brandy' 6 bwbasic bywater BASIC Programming Type 'bwbasic'