On Fri, Aug 18, 2006, EV wrote:
> Fdb provides one more property for each tune: its path.  You can
> use this property to store arbritary pathnames relative to the RK
> (lkarmafs) mountpoint.  This way you have the means to handle the
> virtual FS exactly as if it were a regular FS; i.e., you can
> organize the tunes into any arbritary directory hierarchy, not
> necessarily derived from genres, artist, etc.  For instance, you
> may want to have the very same hierarchy as in the collection you
> have in your host PC.  And, contrary to what happens with the
> current lkarmafs -T approach, when playing or searching tunes in
> the RK, it will display tag properties rather than the path
> componnents.  However, as I said,
> 
> 2006-08-18: EV dixit:
> > [...] moreover, it would require a lot of changes in lkarmafs
> > (may be even a different program altogether).

Plus all tunes copied via a different program would be ignored
completely.

> > > 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
> 
> Well, it is almost equivalent and you could use this for
> uploading too -- assuming you mean
> 
>   cp $f mnt/tune/${f##*/} 
> 
> rather than 
> 
>   cp mnt/tune/$f

No. I was having a busy day and didn't check what I had written.
Assuming it is mounted with -G, as I always do, what I actually
meant was this:

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

ie. you make it work exactly like a real filesystem.
"cp A/B/C.ogg mnt/tune/A/B/C.ogg" works, whilst "cp A/B/C.ogg mnt/tune/"
doesn't work.
That way you don't have to worry about the duplicate file issue.
Any file named mnt/tune/A/B/C.ogg will get overwritten and if you use
"cp -i" it will prompt you first.

By the way, on that previous thread we had several other people who
said that they always used -G too. Can you change the default, please?

Thanks,

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