mirror of
https://github.com/DictXiong/dxsync.git
synced 2024-10-06 06:01:34 +08:00
5 lines
148 B
Bash
5 lines
148 B
Bash
|
#!/bin/zsh
|
||
|
|
||
|
sed -i "4c syncing..." /mnt/mirrors/status/${1//\//\-}.log
|
||
|
sed -i "3c $(date +'%Y-%m-%d %H:%M:%S')" /mnt/mirrors/status/${1//\//\-}.log
|