A ciklust egészítsd ki így: for file in $(find $forras -type f); do f=$(echo "$file" | sed -e 's/.*\///') # így a file-nev tisztan marad mv -i $f $cel/${f} || mv -i $f $cel/${count}_${f} count=$(($count+1)) done bocs, ezt tényleg elfelejtettem