https://github.com/gamemann/hard-link-files
A small C++ application I made in 2016. Imported to GitHub from GFL's Gitlab server.
https://github.com/gamemann/hard-link-files
automatically c cplusplus files game hard link servers
Last synced: about 1 year ago
JSON representation
A small C++ application I made in 2016. Imported to GitHub from GFL's Gitlab server.
- Host: GitHub
- URL: https://github.com/gamemann/hard-link-files
- Owner: gamemann
- Created: 2020-06-25T03:18:02.000Z (almost 6 years ago)
- Default Branch: master
- Last Pushed: 2020-06-25T03:20:10.000Z (almost 6 years ago)
- Last Synced: 2025-02-28T12:30:03.027Z (over 1 year ago)
- Topics: automatically, c, cplusplus, files, game, hard, link, servers
- Language: C++
- Homepage: https://moddingcommunity.com/
- Size: 3.91 KB
- Stars: 12
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# Description
**Warning** - This application was made in 2016. I am importing this project to GitHub from GFL's GitLab server.
A small C++ program that automatically **hard links** all files and subfolders in a directory. I use this program on my Windows Home Server (2008) to make game servers. Since it hard links the files, they don't take up any extra hard drive space.
# Why Hard Link Directories/Files?
* Takes up less space - E.g. Having all the servers in one game **linked** to **one** installation base is much better than having each server have its own installation (~14GB each for CS:GO).
* If you want to update a game like CS:GO, all you have to do is update the one installation base for the game. Although, you must relink the files that have been changed in the update. I have a update.bat file (in the tools folder) that automatically relinks all the installation files for each game server after updating the game.
# Command Line
* **--config ** - Specify a configuration file (default is config.ini).
* **--name ** - The link name. If this isn't specified, you will be asked when the program starts up.
* **-remove** - Removes the hard linked files (useful for having to relink the files).
* **-force** - The program will never "pause" (excluding if you must specify a link name at the beginning).