aMule Forum

English => aMule Help => Topic started by: me777 on February 04, 2010, 04:25:17 PM

Title: amuled 2.2.6 - how to add shares
Post by: me777 on February 04, 2010, 04:25:17 PM
Hi!

Just compiled amuled and the other non-gui stuff on my server (debian Linux) and using remote-gui from windows.

adding shares is a real problem as i can't run the gui on the server and the remote-gui shows local files instead of the files on the server.

I also tried to symlink my shared folder into incoming, but only 1 file got shared (it is right in the top of the linked directory) the files in sub-directory's don't get shared :(

.../Incoming/symlink -> Shares

.../Shares/File #this is shared
.../Shares/somedir/file #this is not shared

also it seems the remote-gui sets some settings back to default at random, or it just displays up- and download rates as 0...
Title: Re: amuled 2.2.6 - how to add shares
Post by: GonoszTopi on February 04, 2010, 05:42:46 PM
I also tried to symlink my shared folder into incoming, but only 1 file got shared (it is right in the top of the linked directory) the files in sub-directory's don't get shared :(

This is intentional, subdirectories don't get shared. To share a directory recursively you can use the following command:
Code: [Select]
$ find /path/to/shared.dir -type d -print > ~/.aMule/shareddir.datBe careful that /path/to/shared.dir should be an absolute path, and do this while amule(d) is not running. (IIRC it should work on-the-fly with 'reload shared files', but I'm not sure).
Title: Re: amuled 2.2.6 - how to add shares
Post by: Stu Redman on February 04, 2010, 11:19:03 PM
Nope, 'reload shared files' only looks for files, not for dirs.
Title: Re: amuled 2.2.6 - how to add shares
Post by: Dante_ on April 08, 2010, 12:22:25 AM
Well, that a very "crappy"  "feature"...
I'm always organizing my downloaded files into meaningful directories, so, even if I ran that command, some days later the newly created directories containing the new files won't be shared.

I guess I could create a cron job to stop amuled, run the command, and start amule again periodically, but that would be an extremely "crappy" fix too.

I seriously believe  you should add a flag we could use before or after a line on shareddir.dat, someting like:

Code: [Select]
/path/to/directory1
recursive /path/to/directory2

directory1 would be shared non recursively and directory2 would be shared recursively, and scanned regularly (every hour or more often, perhaps a configurable parameter on aMule.conf
Title: Re: amuled 2.2.6 - how to add shares
Post by: Stu Redman on April 08, 2010, 07:28:48 PM
1) Do not cross-post.
2) If you try to convince us to do something for you, do not use "crap" and "aMule" in the same sentence.