|
Rockbox mail archiveSubject: Re: building m3u-playlists from bash in unixRe: building m3u-playlists from bash in unix
From: Alexandre Belloni <abelloni_at_nerim.net>
Date: Thu, 2 Oct 2003 11:21:43 +0200 On Thu, Oct 02, 2003 at 10:12:01AM +0200, Gajdos_at_metatem.net wrote : > You can pipe it through 'sed' - it's got a nice search/replace function: > find ~/Music/ -type f -name \*.mp3 | sed 's/Users\/svante\/Music/A-C/' >playlist.m3u > > (the '/' acts as a separator in 's/search-for/replace-with/', so it has to > be escaped with '\' in the actual search string.) instead of escaping '/', you could use sed -e 's#/Users/svante/Music#A-C#' -- Alexandre Belloni AE-UTBM: http://ae.utbm.fr - - Lolut: http://lolut.utbm.info Key fingerprint = A7C6 7CD4 4328 59D1 79FD B8BB 945F 4DD5 B634 89BD
Page template was last modified "Tue Sep 7 00:00:02 2021" The Rockbox Crew -- Privacy Policy |