Coder Social home page Coder Social logo

gamemann / hard-link-files Goto Github PK

View Code? Open in Web Editor NEW
11.0 2.0 0.0 4 KB

A small C++ application I made in 2016. Imported to GitHub from GFL's Gitlab server.

Home Page: https://moddingcommunity.com/

C++ 92.23% C 0.39% Batchfile 7.39%
c cplusplus hard link files automatically game servers

hard-link-files's Introduction

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).

hard-link-files's People

Contributors

gamemann avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.