@matigo I don't quite get why people take these posts down. Totally valid views.
(Google has a cached copy too.)
// @larand @gtwilson
@matigo I don't quite get why people take these posts down. Totally valid views.
(Google has a cached copy too.)
// @larand @gtwilson
@peemee Should be alright. I'd consider anything over 10kg heavy.
What's the worst that can happen?
@matigo If I reply from conversation view, the scrolling seems to get stuck. The only solution appears to be to click outside of the convo box (i.e. onto the grey) — then scrolling (but in the main timeline) is fine.
@matigo One of my main attractions to Glycine is that they're one of the very few companies still making 38mm men's watches. My Citizen Eco-drive is lovely, but it looks absurd on my 6" wrist. Wonderfully slim too, as automatics go.
// @gtwilson
Ah, silly me, I could've avoided calling sed at all by using NAMEDIR=$(echo ${f%.*} to remove the extension instead.
I should perhaps explain what that script does:
Given a filename in the format "date time firstname lastname", create folder "firstname lastname" and move the file into that folder — unless the filename contains a comma (implies multiple firstname-lastname sets), in which case move it to a folder called "multiple_names".
Because I have thousands of snapshots of individual people, and a few hundred of groups, and want each person to have their own folder.
Well, that's a wrap.
bash
#!/bin/bash
# The "if grep" line means that "if file does not contain comma".
for f in *; do
if grep -q --exclude-dir='.' -- "," "$f"; then
NAMEDIR=$(basename "$f" | cut -d " " -f 3- | sed -E 's/\.(png|jpg|jpeg|txt|md)$//')
if [ ! -d "$NAMEDIR" ]; then
mkdir "$NAMEDIR"
fi
mv "$f" "$NAMEDIR"/"$f"
else
if [ ! -d multiplenames ]; then
mkdir multiplenames
fi
mv "$f" multiple_names/"$f"
fi
done
Thanks for the advice on awk @jws — that led me to cut, which views fields in much the same way.
@hazardwarning Heh, quite…this is what happens when I really get into something.