Description
Quick overview of counting up lines inside the directory for all files.
CLI
find "$1" -type f -exec cat {} + | wc -l
ZSH or Bash config
clines() {
if [ -z "$1" ]; then
echo "Provider folder argument please."
else
find "$1" -type f -exec cat {} + | wc -l
fi
}
Thanks for your attention. Be happy.
Tidak ada komentar:
Posting Komentar