fn dump_dir( input: &Path, dry_run: bool, overwrite: bool, config: &Config, largest_mtime: Option<SystemTime>, output: &Path, ) -> Result<()>