hi;
i need a script which will go to all directories and subdirectories and print the filenames as follow;
here i m printing only files listing in current directory
reason i m doing this is coz i want to perform some operations according to filename achieved so cant use find command;
#!/bin/bash
LOG_DIR="/home/fstl/testShell"
cd $LOG_DIR
for f in *
do
filename=$f
echo "$filename"
done
thnks;