Compare local and remote files and directory