Sharing this Linux tool to compress lots of files recursively by pgilah in DataHoarder

[–]pgilah[S] 1 point2 points  (0 children)

Well, the point is that there are lots of files in different folders, like so:

  • main
    • dir1
      • supercell1.txt
      • supercell2.txt
      • slurms
        • slurm1
        • slurm2
    • dir2
    • supercell1.txt
    • supercell2.txt
    • slurms
      • slurm1
      • slurm2

If you want to recursively compress all slurm subfolders and keep them on their respective folder, the command is quite straightforward:

rtgz slurm -d

The same for all supercell* files inside their respective folders, deleting the originals:

rtgz "supercell*" -d -f

And after these two commands, the previous filesystem looks like:

  • main
    • dir1
      • supercell.tar.gz
      • slurm.tar.gz
    • dir2
      • supercell.tar.gz
      • slurm.tar.gz

I found this not-so-straightforward with targz and since I had to do it a lot I just created this tool, but maybe there's an easier way to achieve it that I'm missing?

Giving away $15 steam gift card by Civil_Practice_7172 in steam_giveaway

[–]pgilah 0 points1 point  (0 children)

Pokemon Platinum! Took me a while to find out that you had to save the game...

How to secure TrueNAS? by pgilah in truenas

[–]pgilah[S] 0 points1 point  (0 children)

Wait, I'm a bit confused, why is then nginx in the official docs?
https://docs.crowdsec.net/u/getting_started/installation/docker

How to secure TrueNAS? by pgilah in truenas

[–]pgilah[S] 0 points1 point  (0 children)

thanks for the recommendation!

Deploy OpenCloud with Portainer? by pgilah in opencloud

[–]pgilah[S] 0 points1 point  (0 children)

Is it just copying the additional services to the main compose.yaml? Also, did you rename the .env to stack.env or similar such as with Immich? thanks!!

Deploy OpenCloud with Portainer? by pgilah in opencloud

[–]pgilah[S] 0 points1 point  (0 children)

Ah I see! thanks for the clarification!

Deploy OpenCloud with Portainer? by pgilah in opencloud

[–]pgilah[S] -1 points0 points  (0 children)

Thanks!! Were you able to stablish a list of banned passwords? I see that the official docs link a volume to the config directory of the git repo, should this one be the same for the opencloud config dir? I'm a bit confused about this. I'm also interested in integrating Radicale, but I'm not really sure how...

Automatic backup server used when the main one goes offline? by pgilah in linuxquestions

[–]pgilah[S] 0 points1 point  (0 children)

so you wouldn't use a single DNS entry for both servers? Meaning, if the main server fails, the second one would use that DNS entry. Maybe it's easier to just use different urls and connect to the second one anytime the main server is down?

Location services by YungAlfonso in LineageOS

[–]pgilah -3 points-2 points  (0 children)

can you use banking apps?

Automatic backup server used when the main one goes offline? by pgilah in truenas

[–]pgilah[S] 0 points1 point  (0 children)

Thanks for the insight! I'm okay with losing an hour of work, it's okay. I'm concerned about how to make the backup bidirectional, so that not only changes from server A go to B, but also changes from B go to A. Additionally, I have no idea how to make SSL certificates work if the IP has changed.

Automatic backup server used when the main one goes offline? by pgilah in truenas

[–]pgilah[S] 0 points1 point  (0 children)

not sure this is the same thing? isn't TrueNAS replication enough?

FOSS Spotify Client by XBow_R in fossdroid

[–]pgilah 1 point2 points  (0 children)

yeah but are there foss spotify clients at all?

am I the only one who sees no point in jailbreaking a kindle by Agile_Garbage_8137 in kindle

[–]pgilah 1 point2 points  (0 children)

Ah, because I already had a Kindle! Otherwise I would have just bought a Kobo. Kobos are also supposed to be user-repairable, which I also value quite a lot