GameServerManagers / GameServerManagers/LinuxGSM

[Feature]: fastdl check existed files

Open
#4,138 0 comments 0 reactions 0 assignees View on GitHub
command: fast-dl command: monitor distro: Ubuntu game: Counter-Strike: Global Offensive type: feature
Dominant language
Shell
Stars
4.9k
Forks
864
PR merge metrics
No merged PRs in 30d

Description

### User story

recreate fastdl so long and using a lot of resource pc, replace fastdl to python script that check folder's difference

### Game

source games (csgo, css, tf2, etc)

### Linux distro

Ubuntu 22.04

### Command

command: monitor

### Further information

There was no Fastdl in the list of commands

for example this script can check existed files and add only new and bzip them
https://github.com/GAMMACASE/FastdlUpdater

1. Do not compress files over 150Mb
2. Delete files from the fast download that are no longer on the server (optional)
3. Have a list of exceptions for all types of games (optional) (so as not to compress standard files)
4. Use all processor cores for compression (for example, the command
find /home/gs-1/gameservers/tf2_1/public_html/fastdl ! -name '*.bz2' ! -name '*.filepart' -type f -size -150M -print0 | xargs -0 -n1 -P4 bzip2

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.