[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: Looping a script



>     However, this will play the files sequentially, in (sorted) order.  I
> want it to be randomized, like the output of 'ls -AQU'

while [ 1 ]
do
	for mp3 in `/bin/ls -AQU *.mp3`
	do
		amp -p $mp3
	done
done






[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]