Re: [linux-audio-user] batch creation of symlinks

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: Emiliano Grilli <emiliano.grilli@...>, A list for linux audio users <linux-audio-user@...>
Date: Saturday, July 8, 2006 - 9:15 pm

Emiliano Grilli wrote:

this shell script should also do the job:

#!/bin/bash
find -name \*.mp3 | while read name; do
name="`echo "$name"|sed 's/^\.\///'`"
if ! echo $name|grep "/"> /dev/null; then
continue
fi
ln -s "$name" "` basename "$name"`"
done

>

Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
Re: [linux-audio-user] batch creation of symlinks, Frank Barknecht, (Sun Jul 9, 9:17 am)
Re: [linux-audio-user] batch creation of symlinks, Florian Paul Schmidt, (Sun Jul 9, 5:10 pm)
Re: [linux-audio-user] batch creation of symlinks, Frank Barknecht, (Sun Jul 9, 10:28 pm)
Re: [linux-audio-user] batch creation of symlinks, Stephen Cameron, (Sun Jul 9, 4:26 pm)
Re: [linux-audio-user] batch creation of symlinks, Chris McCormick, (Sun Jul 9, 4:31 pm)
Re: [linux-audio-user] batch creation of symlinks, Frank Barknecht, (Sun Jul 9, 10:33 pm)
Re: [linux-audio-user] batch creation of symlinks, Frank Barknecht, (Sun Jul 9, 1:25 pm)
Re: [linux-audio-user] batch creation of symlinks, Florian Paul Schmidt, (Sun Jul 9, 5:14 am)
Re: [linux-audio-user] batch creation of symlinks, Florian Paul Schmidt, (Sun Jul 9, 5:26 am)
Re: [linux-audio-user] batch creation of symlinks, Stephen Cameron, (Sat Jul 8, 10:59 pm)
Re: [linux-audio-user] batch creation of symlinks, Emiliano Grilli, (Sat Jul 8, 8:28 pm)
Re: [linux-audio-user] batch creation of symlinks, Thomas Ilnseher, (Sat Jul 8, 9:15 pm)