1
0
mirror of https://github.com/Zygo/bees.git synced 2025-05-17 21:35:45 +02:00

Add filter to remove time from bees output

Signed-off-by: Timofey Titovets <nefelim4ag@gmail.com>
This commit is contained in:
Timofey Titovets 2016-12-29 17:04:47 +03:00
parent 03609f73db
commit badfa6e9b9

11
scripts/beesd Executable file → Normal file
View File

@ -97,6 +97,15 @@ fi
chmod 700 "$DB_PATH"
}
bees "$MNT_DIR"
filter_output(){
sed -e 's/^.*crawl:/crawl:/g' \
-e 's/^.*status:/status:/g' \
-e 's/^.*bees:/bees:/g' \
-e 's/^.*crawl_writeback:/crawl_writeback:/g' \
-e 's/^.*main:/main:/g' \
-e 's/^.*hash_prefetch:/hash_prefetch:/g'
}
bees "$MNT_DIR" 3>&1 2>&1 | filter_output
exit 0