diff --git a/.bashrc b/.bashrc index 68cbebbadac3ac9acebd52cdb486c88669b91341..d9f58d5d7ee225d54e063d3e0dfe18482416827e 100644 --- a/.bashrc +++ b/.bashrc @@ -107,3 +107,8 @@ if ! shopt -oq posix; then . /etc/bash_completion fi fi + +# Handy dandy function to count files in a directory and its subdirectories +function count { + find $1 -type f | wc -l +}