What's the best way to print all the files listed in a directory and the numer of files using a for loop? Is there a better of doing this?
#!/bin/bash
target="/home/personal/scripts/07_22_13/ford/$1"
for file in "$target"/*
do
printf "%s\n" "$file" | cut -d"/" -f8
done