Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Mutella (Linux/Unix) (https://www.gnutellaforums.com/mutella-linux-unix/)
-   -   sharing files sorted in multiple directories (https://www.gnutellaforums.com/mutella-linux-unix/13682-sharing-files-sorted-multiple-directories.html)

Evgeny July 18th, 2002 06:37 AM

sharing files sorted in multiple directories
 
Hi,
it's a great program i've been using it for a while.
just a quick question: is there a way to share multiple directories? - i know there is SharePath
variable, but it was not clear to me as to whether
all subdirectories within that path are shared too or not.
Also: can i use path variables set to something like
~/mutella/*/*
Thanx.
E.

Unregistered July 18th, 2002 01:44 PM

why not try it and then do a search for your files using another client

maksik July 29th, 2002 03:32 AM

You got to remove *.* from the SharePath. All the subdirectories are (will be then) shared. You can check that using CLI command 'lib'

--Max

TwinGears April 25th, 2003 06:54 PM

recording path...
 
I am looking for input about writting a script that will change the naturally ripped path of Grip...being.
~$USER/ogg/artist_name/album_name/song_name.ogg
I would like it to work into something like this...as I have seen some of the other GNU Linux users working this standard into play - and it's good to see.
~$USER/mutella/artist_name-album_name-song_name.ogg

I have been try to write a BASH script but it not going quite as expected...anyone interested in automating this task to assist in better sharing...
oh and I suggest everyone might want to change the ogg commands from
-o %m -a %a -l %d -t %n -N %t -G %G -d %y -q 4 %w
-o %m -a %a -l %d -t %n -N %t -G %G -d %y -q 10 %w
much better quality!

TwinGears May 18th, 2003 09:38 PM

following up....
 
#!/bin/bash
#The idea here is to copy .ogg files to full paths like artist_album_song.ogg
#this was done quickly so if anyone has some know how to make this really slick then please drop me a line - hope everyone likes it, enjoy.

#find path and trim it to necessary artist information at hand
artist(){
path=$(pwd)
set foo | echo ${path##*ogg/}|sed -e"s:/:-:g"
}

#add full artist & album name to songs
for i in *.ogg
do mv $i $(artist)-$i
done

#move songs to the sharing directory - remove this if you don't share...
echo moving songs to mutella sharing directory
mv *.ogg /home/$USER/mutella
echo moving completed

TwinGears May 18th, 2003 09:48 PM

quick note
 
The script has only been tested when run within the ogg song directory that Grip has ripped which naturally make folders for artist and album. Just in case their is any confusion...

Note: If you burn from a command line or use the -J in mkisofs you will or sould note that it's wiser to use the -joliet-long, just because -J really will not like the long file names.

Hope this help
;)


All times are GMT -7. The time now is 01:36 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.