Switch -OL - save symbolic links as the link instead of the file

WinRAR

Switch -OL - save symbolic links as the link instead of the file


Store NTFS symbolic links and reparse points as links, so file contents is not archived. Such archive entries are restored as symbolic links or reparse points when extracting. Supported for RAR 5.0 archives only.

You may need to run WinRAR as administrator to create symbolic links when extracting.

This switch is the command line equivalent of Store symbolic links as links group of options in "Archive name and parameters" dialog.