Empulse Group a collection of notes from a sys admin, musician, and father


file count BASH script

# 20120812
# by: eric hernandez
# usage: ./file_count [path]
for DIR in `find $1 -type d`; do
   for FILE in $DIR/*; do
      if [ -f $FILE ]; then
   echo -e "$COUNT \t $DIR"
Tagged as: , Comments Off
Comments (0) Trackbacks (0)

Sorry, the comment form is closed at this time.

Trackbacks are disabled.

Copyright © 2018 Empulse Group · Powered by WordPress
Lightword Theme by Andrei Luca Go to top ↑