I wrote a routine that formats, validates, beautifies, and adds cross references Is there an interest to have a git repository of same?
As well, I wrote a key/value dictionary that runs in ram. I tested it with 40k entries – zero errors.
It is used by the above utility
3 Likes
You never know what people might find useful. I have wrote a small script to manage wireguard clients and I have put it on github, it’s been cloned a few times. GitHub - mihalycsaba/absolutely_easy_wireguard: Simple wireguard server script only tested it on redhat and debian.
Would love it to be a repo
My fstab xreferencer, validator, beautifier is available as a git repository. I am posting the download link here.
when you cd into it, run
make all strip
make test
or combined:
make all strip test
altman
November 29, 2024, 4:37pm
5
Top @lsatenstein , Keep it on sir.
deex
November 29, 2024, 5:33pm
6
Some observations:
The uploaded file is called .gz
but it actually is a bzip2 archive - or even more correct, it’s a bzip2 compressed tar archive, so the extension should be .tar.bz2
:
$ file fstab.git.20241124-Nov@144918.gz
fstab.git.20241124-Nov@144918.gz: bzip2 compressed data, block size = 900k
The file extension is wrong and does not match the file’s contents.
Make sure you establish proper tool usage and care.
I use a script bkupFolder.sh and I will modify it to put the “tar” string before the .gz My script also accepts some second parameters eg
del|DEL|delete|DELETE|rm|RM|yes|YES|-yes
bkupFolder.sh A_folder yes
will result in A_folder being tar.gz’d and then A_folder being deleted.
Is there an interest in same?
Following a recommendation to include the string “tar” prior to .gz, (see output), here is the revised git repository in tar format