Horje
bash loop over files in file Code Example
bash loop over files in directory
#!/bin/bash
for filename in /Data/*.txt; do
    ...
done
bash loop over files in file
# Basic syntax:
for filename in `cat file_of_filenames.txt`; do
	echo $filename
done

# This iterates through each of the filenames listed in the 
#	file_of_filenames.txt
# Note, the filenames should be separated by spaces or new-lines
bash loop over files with extension
for i in *.java; do
    [ -f "$i" ] || break
    ...
done




Shell

Related
get unix username Code Example get unix username Code Example
angular install  version 12 Code Example angular install version 12 Code Example
supprimer une branch git Code Example supprimer une branch git Code Example
extract tar Code Example extract tar Code Example
script that echos user Code Example script that echos user Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11