bash for loop

Snippet

Loop over bash files

for file in $(ls *.mt1); do mv $file $file.txt; done;

Add new comment

Plain text

  • No HTML tags allowed.
  • Lines and paragraphs break automatically.