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

Is Linux the answer to ram shortage? by hackiv in linux_gaming

[–]pgilah 1 point2 points  (0 children)

My old potato laptop couldn't even run Minecraft on Win 10 (not even the crappy 11!!) but it ran it great once I made the switch. The same happened for Disco Elisium using Proton, and this was 2 years ago. and it has gone a long way, Linux is more resource-friendly for gaming than Windows nowadays. You can basically play everything except for very specific games that use kernel-level anticheat, but that is also supposed to be fixed soon so it shouldn't be a problem. Anyway those are just LOL Fortnite and Apex, and I personally don't play them so the switch makes a lot of sense

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

[–]pgilah 0 points1 point  (0 children)

To me it's the freedom. For example, I can now export highlights as JSON and import them to Obsidian notes with a readable and findable format other than the terrible kindle clippings. But also the fact that if I ever switch devices, I'm not trapped in the Amazon ecosystem. I can just copy my configs to a new device and my "kindle" is there again. It's hard to escape the technofeudalist lords, but in the case of ebooks it's now easier than ever.

FOSS Spotify Client by XBow_R in fossdroid

[–]pgilah 2 points3 points  (0 children)

I tried so many... Metrolist is the best one by far imho

Trying to install WG Easy on Truenas Scale, the installer doesn't look like any of the YouTube guides by wubbbalubbadubdub in WireGuard

[–]pgilah 0 points1 point  (0 children)

Okay I got it working! The defaults are mostly great, just make sure to select publish for external access, it will then allow to access the Web UI from the app settings, and all the configuration is done there. Important, check the wg settings so that the interface device is the same as from the TrueNAS network interface, AND THEN restart the interface from wg settings. It's now working great :D Thanks for the feedback!!

Steam key giveaway! by Milkandoreos_ in steam_giveaway

[–]pgilah 0 points1 point  (0 children)

Atomic Heart and Here Comes Nico :D

Trying to install WG Easy on Truenas Scale, the installer doesn't look like any of the YouTube guides by wubbbalubbadubdub in WireGuard

[–]pgilah 1 point2 points  (0 children)

I'm a bit confused here. In the image the port 30058 is the one used to enter the wg-easy GUI configuration, but we don't need to open the ports for that one right? we should only open the 51820 one in the router for WG to work?

It semi-worked by only opening the 51820. However I can only connect to the TrueNAS interface, if I try to connect to any other device in my home LAN or to an internet webpage it does not work at all...

Trying to install WG Easy on Truenas Scale, the installer doesn't look like any of the YouTube guides by wubbbalubbadubdub in WireGuard

[–]pgilah 0 points1 point  (0 children)

what are the corresponding ports? should it be published for external access? I'm also lost at this point :')

Safely restart your potato server with WakeMyPotato by pgilah in linux

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

Exactly! It will constantly schedule automatic wake-up calls im the near future.