This simple script allows to back up folders preserving their structure, but avoiding wasting space for storing duplicate files. This is achieved by storing every file under unique name (which is file's hashsum, lika SHA-1). Original tree structure is maintained using symlinks.