mirror of
https://github.com/chubin/wttr.in
synced 2024-12-27 04:03:07 +00:00
15 lines
248 B
Bash
Executable file
15 lines
248 B
Bash
Executable file
#!/bin/bash
|
|
|
|
CACHEDIR="/wttr.in/cache"
|
|
|
|
for dir in wego proxy-wwo png
|
|
do
|
|
mv "${CACHEDIR}/${dir}" "${CACHEDIR}/${dir}.old"
|
|
mkdir "${CACHEDIR}/${dir}"
|
|
rm -rf "${CACHEDIR}/${dir}.old"
|
|
done
|
|
|
|
cd /wttr.in/log
|
|
mv main.log main.log.1
|
|
touch main.log
|
|
|