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

This commit is contained in:
c0dev0id
2024-12-12 18:56:36 +01:00
parent f652704039
commit 6a8edca474
5 changed files with 160 additions and 6 deletions

11
.bin/clear-dl Executable file
View File

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