On Fri, Aug 18, 2006, EV wrote:
> 
> I agree with Franky that fdb would be a very good solution, but
> we don't have the fdb support fully in place (in fact, it was
> completely removed a few versions ago ;) and, moreover, it would
> require a lot of changes in lkarmafs (may be even a different
> program altogether).

Actually, I'm currently working on restoring the fdb code. Should be
ready some time tomorrow. But I don't understand your statement above.
A good solution to what, exactly?

> On the other hand, I think this is completely unrelated with the
> duplicate path problem.  Dup. paths can be solved in a number of
> ways, perhaps the simplest one being to number the different 
> instances of the same pathname.
> 
> There are two disjoint issues:  one is how to display the RK
> tunes and the other is how to upload them.  Lkarmafs gives a more
> or less adequate solution for display (I'll try to do something
> about repated paths in the next release).
> 
> But the upload issue still needs some thinking.  The next release
> will keep the -T method, where you name the RK path componnents
> yourself with independance of the tune tag contents; e.g.:
> 
>   cp ~/music/A/B/uvw.ogg mnt/tune/X/Y/Z/BlaBla.ogg
> 
> But I think the other approach is also vaery useful; i.e., copy
> to some generic directory and let the path be automagically
> defined from the tune tags.  E.g., if the uvw.ogg tags are Rock,
> Clapton, Unplugged, Signe and ogg, just type:
> 
>   cp ~/music/A/B/uvw.ogg mnt/tune/
> 
> to get:
> 
>   mnt/tune/Rock/Clapton/Unplugged/Signe.ogg

The problem is that this is not how real filesystems behave and
thus leads to lots of unexpected results as this thread proves.

> This method would allow simple bulk uploads such as:
> 
>   cp ~/*/A*/*/*.{oog,mp3} /allMusic/Jazz/Ella/*/* mnt/tune/
> 
> or much more sophisticated things, e.g., using find.

What's wrong with:

for f in ~/*/A*/*/*.{oog,mp3} /allMusic/Jazz/Ella/*/*; do
  cp mnt/tune/$f
done

as you would expect from any other filesystem?

Keith.

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
linux-karma-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-karma-devel

Reply via email to