Article 5GRTN linux - sending output to text file

linux - sending output to text file

by
babag
from LinuxQuestions.org on (#5GRTN)
hope this is an appropriate place to ask this. i have this: Code:for file in *.mp3; do sox $file -n stats > $file.txt 2>&1 | tail -1; donewhich makes a text file for each file examined in looping through a directory. how would i change this to write all of it to a single file, with a couple of lines between each set of stats?

thanks,
babaglatest?d=yIl2AUoC8zA latest?i=AOgY_bsalrc:LW9whF0HnnU:F7zBnMy latest?i=AOgY_bsalrc:LW9whF0HnnU:V_sGLiP latest?d=qj6IDK7rITs latest?i=AOgY_bsalrc:LW9whF0HnnU:gIN9vFwAOgY_bsalrc
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments