Tuesday, May 29, 2018

How to get the list of files in a directory in a shell script?

for entry in "$search_dir"/*
do
  echo "$entry"
done

No comments:

Post a Comment