#!/bin/bash DIR=~/konyvtar/alkonyvtar cd $DIR find $DIR -name '*.txt' | while read sor do echo $sor done