Re: How to extract string from filename solved

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

 



You're right! I totally missed that and I should know better. I use that syntax without the "ls" all the time and I didn't even think about it. Maybe that's why it takes forever to run. Fortunately I can put "&" at the end to run it in the background. Of course I have thousands of files to process.

On 7/30/2015 6:11 AM, Tim Chase wrote:
On July 30, 2015, Tony Baechler wrote:
#Since there are no spaces in the names, use for loop

for i in $(ls *mp3);do

For the record, this can be simplified to just

   for i in *mp3 ; do

-tim


_______________________________________________
Blinux-list mailing list
Blinux-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/blinux-list



[Index of Archives]     [Linux Speakup]     [Fedora]     [Linux Kernel]     [Yosemite News]     [Big List of Linux Books]