mirror of
https://github.com/DictXiong/dxsync.git
synced 2024-10-06 05:51:32 +08:00
4 lines
161 B
Bash
4 lines
161 B
Bash
|
#! /bin/zsh
|
||
|
|
||
|
echo -e "${1}\n$(du -h --max-depth=0 /mnt/mirrors/$1 | awk '{print $1}')\n$(date +'%Y-%m-%d %H:%M:%S')\n${2}" > /mnt/mirrors/status/${1//\//\-}.log
|