Sharon Kimble <[email protected]> writes:
(snip)
> '15_Minute_Drama_-_AM_Homes_-_This_Book_Will_Save_Your_Life_Episode_5_b00jdlb8_default.m4a'
>
> How can I lose the '_b00jdlb8_default' section please? It is always
> in this format but with different letters and numbers in the section
> before 'default'.
Perhaps something like,
for i in *_????????_default\.m??
do mv "$i" "`echo $i | sed 's/.\{17\}\(.\{4\}\)$/\1/'`"
done
Hope that helps.
-- Mark
--
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]
Archive: http://lists.debian.org/[email protected]