On 08/05/16 13:56, jr wrote:
> On 08/05/2016 13:24, jr wrote:
>
>> find does the finding and recursive tree walk (provided all directories
>> below ~/Music reside on the same filesystem).
>
> correction: find can be limited ('-xdev' option) to a single filesystem.
>
Apologies for late reply. Real Life intervened.
I think I've cracked the find command:
find -type f -regex ".*/.*\.\(mp3\|ogg\|flac\)"
It gives the result I want; now all I need to do is put the whole script
together and I'm winning.
Unfortunately, I won't have the time till Saturday/Sunday but I am
optimistic that I'm on the home straight.
John
--
Protect the Earth
It was not given to you by your parents
You hold it in trust for your children
Post a reply to this message
|