Switch -OH - save hard links as the link instead of the file

WinRAR

Switch -OH - save hard links as the link instead of the file


If archiving files include several NTFS hard links, store the first archived hard link as usual file and the rest of hard links in the same set as links to this first file. When extracting such files, WinRAR will create hard links instead of usual files.

You must not delete or rename the first hard link in archive after the archive was created, because it will make extraction of following links impossible. If you modify the first link, following links will also have the modified contents after extracting. Extraction command must involve the first hard link to create following hard links successfully. Supported for RAR 5.0 archives only.

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