aMule Forum
English => aMule Help => Topic started 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...
-
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:
$ find /path/to/shared.dir -type d -print > ~/.aMule/shareddir.dat
Be 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).
-
Nope, 'reload shared files' only looks for files, not for dirs.
-
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:
/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
-
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.