Update 2024-12-12 18:58 OpenBSD/amd64-t14

This commit is contained in:
c0dev0id 2024-12-12 18:58:31 +01:00
parent fc5e2de67a
commit 17325bb534

14
.bin/dl-clear Executable file
View File

@ -0,0 +1,14 @@
#!/bin/sh
find . -maxdepth 1 \
| grep -v ^.$ \
| grep -v "Telegram" \
| grep -v "Screenshots" \
| grep -v "OLD-"\
| while read file
do
date="$(stat -f "%Sm" -t %Y-%m "$file" )"
[ -f "OLD-$date" ] && mkdir -p OLD-$date
mv "$file" OLD-$date/
done
echo done.