View Single Post
Old 03-27-2015, 08:43 AM  
Barry-xlovecam
It's 42
 
Industry Role:
Join Date: Jun 2010
Location: Global
Posts: 18,083
SSH/terminal

Code:
[CD to the $PWD(working directory to start recursion)]

$ find . -name "*.jpg" -or  -name "*.gif" -or -name "*.png" | wc -l >ct
$ cat ct
110
^image count
Barry-xlovecam is offline   Share thread on Digg Share thread on Twitter Share thread on Reddit Share thread on Facebook Reply With Quote