7 Nov
2006
7 Nov
'06
03:48
Darryl Gregorash wrote:
On 2006-11-06 21:03, Geir A. Myrestrand wrote:
Randall R Schulz wrote:
Geir,
On Monday 06 November 2006 15:40, Geir A. Myrestrand wrote:
...
for FILE in '*.mp3'; do echo ${FILE}; done You should try these things before submitting them. That will only echo (literally) *.mp3. Witness:
<snip>
However, Randall is right --on the second run it doesn't give the right output, so using for example find is the right solution here.
No, all you need to do is get rid of the quotes around *.mp3.
Yes, that works: # for FILE in *.mp3; do echo ${FILE}; done 01 Allegro.mp3 02 Adagio un poco mosso.mp3 03 Rondo - Allegro.mp3 -- Geir A. Myrestrand