Horje
bash loop over files in directory 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




Shell

Related
oh my zsh reset config Code Example oh my zsh reset config Code Example
git reset keep changes Code Example git reset keep changes Code Example
mac pip command not found Code Example mac pip command not found Code Example
restart php nginx mac Code Example restart php nginx mac Code Example
gpg2 install ubuntu Code Example gpg2 install ubuntu Code Example

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