Answers for "bash iterate over files in directory if any files"

14

bash loop over files in directory

#!/bin/bash
for filename in /Data/*.txt; do
    ...
done
Posted by: Guest on May-25-2020
2

bash iterate over list of files

FILES="/path/to/files*"
for FILE in $FILES ; do echo $FILE ; done
Posted by: Guest on May-04-2021

Code answers related to "bash iterate over files in directory if any files"

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language