when someone dies due to the deliberate actions taken by another to kill them, that's a murder.
"Murder is the unlawful killing of a human being with malice aforethought."
when someone dies due to the deliberate actions taken by another to kill them, that's a murder.
"Murder is the unlawful killing of a human being with malice aforethought."
"Without evidence" is this administration's tag line.
Let's encourage human interaction rather than sending people away to an llm.
I'm totally in favor of people asking other people for help with these things. But here's what Claude gave.
The problem is a mismatch between your find output and what read expects:
find with a regular pipe outputs newline-separated filenamesread -r -d '' expects null-terminated input (the -d '' means "use null byte as delimiter")-print0 with find (Recommended)Change your find command to use -print0:
find ./ -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | while IFS= read -r -d '' file; do
-d '' from readfind ./ -type f \( -iname "*.jpg" -o -iname "*.png" \) | while IFS= read -r file; do
-iname \*.jpg should be -iname "*.jpg" to prevent shell expansion.jpg, .png). You probably want to keep those!#! /bin/bash
echo "This script will rename all files in this directory with unique names. Continue? (Y/N)"
read proceed
if [[ "$proceed" == "Y" ]]; then
echo "Proceed"
find ./ -type f \( -iname "*.jpg" -o -iname "*.png" \) -print0 | while IFS= read -r -d '' file; do
echo "in loop"
echo "$file"
# Extract the directory and extension
dir=$(dirname "$file")
ext="${file##*.}" # Get file extension
# Generate new name with UUID but keep extension
new_name="$dir/$(uuidgen -r).$ext"
echo "Renaming ${file} to ${new_name}"
# mv "$file" "$new_name" # Uncomment to actually perform the rename
done
echo "After loop"
else
echo "Cancelling"
fi
The key changes:
-print0 to find${file##*.}Try this and let me know if it works!
Printers are the only piece of hardware I own that I am legitimately surprised by when they work.
"Calvinball jurisprudence"
guess what, I know how these work.
Neat. I don't care.
so please tell me “how to do things right”, or shut up if you can’t tell any useful info
WTF? I'm not trying to tell you how to do anything. I'm sick of selfhosted twerps bitching about "how hard it is to self host" when they think everything should be like an app on their phone. You need to learn how networks, dhcp, dns, ssl, certificates, etc. work.
They're cheap. You can also generate your own certs and use your own ca. But otherwise yes - quit yer bitching and learn how to do things right.
That is some premium copium.
You don't need to if you're just using things locally.
But also - domains are cheap.
Here's a link to a source that's less "Mother Jones".
https://cen.acs.org/research-integrity/misconduct/Glyphosate-study-2000-retracted-amid/103/web/2025/12