Ancestors

Written by Paul on 2025-01-27 at 18:08

Finally managed to fix an annoying problem whereby Nextcloud was sometimes running twice on one of my machines, and had double-downloaded every file (but not uploaded them, so my desktop had two copies of everything but the server didn't, and the duplication only happened on one account). This used up 8GB of space!

I will blog about it at some point, but the root cause was Nextcloud was listed to launch twice at startup, although it only did maybe 10% of the time. (1/2)

[#]Linux #Nextcloud

=> More informations about this toot | More toots from pwaring@fosstodon.org

Written by Paul on 2025-01-27 at 18:09

The command I ran to remove the duplicates was:

find . -name '..~' | xargs -d '\n' rm

The -d '\n' argument to xargs tells it to only use newlines to separate paths, otherwise it tries to use any whitespace and this breaks when you have paths with spaces in them. (2/2)

=> More informations about this toot | More toots from pwaring@fosstodon.org

Toot

Written by Jonathan Dowland on 2025-01-27 at 18:12

@pwaring you can also tell find to -delete

=> More informations about this toot | More toots from jmtd@pleroma.debian.social

Descendants

Written by Paul on 2025-01-27 at 18:12

@jmtd Good point, I'd forgotten about that (some of my server backup scripts use -delete).

=> More informations about this toot | More toots from pwaring@fosstodon.org

Proxy Information
Original URL
gemini://mastogem.picasoft.net/thread/113901667797578436
Status Code
Success (20)
Meta
text/gemini
Capsule Response Time
296.379956 milliseconds
Gemini-to-HTML Time
0.76688 milliseconds

This content has been proxied by September (3851b).