Add -sync option for mirror subcommand