Created
April 20, 2017 01:18
-
-
Save zhanglongqi/433db908a8977c046c81f2159c94d75b to your computer and use it in GitHub Desktop.
calculate the rate of some files in a folder
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo $(( `ls -l brief | grep -e ".*json.old$" | wc -l` / `ls -l brief | wc -l`.0 )) | |
# 0.71987643734567586 |
Author
zhanglongqi
commented
Apr 20, 2017
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment