How to use rsync to backup and synchronize files to USB drive

Portable USB drive (sometimes called pendrive) has gained popularity as a medium for storing documents. Computer users would work on the files that they store on the usb drive and occasionally would copy them on their computer, or vice versa.

However this would cause problems if there’s a lot of files being worked on and transfered between usb drive and computers. Valuable time might be lost solely for identifying which of the files are more recent and need to be updated.

Fortunately there’s ‘rsync’, a tool which can be used to synchronize files between the computer and usb drive. Assuming you use Debian or Ubuntu, you only need to start ‘synaptic’ and select ‘rsync’ package. Once installed, start the terminal application and you can begin synchronizing the files using this command


$ rsync -r -vv /home/username/Documents/ /media/your_usb_drive

The general format of rsync command is :

$ rsync -r -vv <local document directory> <remote backup directory>

rsync only updates file which has been changed and would save time and precious harddisk space from maintaining duplicate files.

A Windows version is also available at : http://www.rsync.net/resources/binaries/cwRsync_3.1.0_Installer.zip

How to convert *.docx files (Microsoft Office 2007) online for free

Sometimes you might have no choice except to open Microsoft Office 2007 (*.docx) files that you’ve just received in your email. The problem is, you do not have any other application that support Office 2007 format.

Here’s an easy way to (kinda) solve that problem, you can convert Microsoft Office 2007 files online, using Google Docs.

Google Docs Logo

The steps are easy, you need to login into your Google Docs account, then upload the Office 2007 files. After that, you can choose the “Download file as” option to convert the file to your favorite document format (typically OpenDocument or older *.doc Microsoft Office word document).

Bear in mind that the conversion is not 100% perfect and there will be parts of document that won’t look exactly as the original ones.

How to convert OpenXML docx files to OpenDocument odf in Windows and vice versa

This guide might be a little different from the others because I write this for the Windows users. Here’s how to convert Microsoft OpenXML docx files to odf OpenDocument files (and vice versa) in Windows using only commandline :

  • First, make sure you downloaded odf-converter tool and copy it to appropriate folder.
  • Convert the files(s) using this command line :
    odfconverter /I filename.pptx
    and the tool will perform the conversion effortlessly.
  • You can use this command to convert multiple files :
    odfconverter /BATCH-DOCX /I c:\newfiles\

    replace /BATCH-DOCX with /BATCH-PPTX, /BATCH-XLSX, /BATCH-ODF, /BATCH-ODP if necessary.

Odfconverter also supports converting Open Document files (ODF, ODP, ODT) to OpenXML files (PPTX,DOCX,XLSX) making it a handy tool to use.

Why odfconverter?
Odfconverter is a (relatively) small and compact standalone tool for converting Office 2007 files to their OpenDocument counterpart. The convenient batch mode conversion makes it attractive tool to use when converting multiple files between the two formats.

The only downside with this converter is that it does not convert mathematical formula pretty well compared to other features.

[Source OOOninja]