#!/bin/bash function Stats { FILE="$@" STAT=$(stat --format="%s" "$FILE") echo "File $FILE is $STAT bytes" } export -f Stats find . -type f -exec bash -c 'Stats "{}"' \;
No comments:
Post a Comment