tools 1.checksum: return all files' checksum of the input dir. 2.backup:use bash to find newest file, then use spawn and scp and expect to copy to another host.