You can extract files to a specific directory by using the `-d` option followed by the directory path.