[问题]如何修改mldonkey默认的下载后的存储路径?
-
- 帖子: 768
- 注册时间: 2007-03-05 20:45
[问题]如何修改mldonkey默认的下载后的存储路径?
RT
由于“文件系统”下磁盘空间剩下很少,而mldonkey默认存储在 ~/.mldonkey/incoming下,要使用“文件系统”这个分区。
但是,我不知道在哪个设置中修改这个路径,比如说,我想把路径修改为 /media/hda6,该如何修改呢?
我使用的图形前端是 sancho,我也知道如何用firefox进入设置项,但都没找到选项。。
请问能告诉我如何设置么?
最好截个图,好么?
谢谢。
由于“文件系统”下磁盘空间剩下很少,而mldonkey默认存储在 ~/.mldonkey/incoming下,要使用“文件系统”这个分区。
但是,我不知道在哪个设置中修改这个路径,比如说,我想把路径修改为 /media/hda6,该如何修改呢?
我使用的图形前端是 sancho,我也知道如何用firefox进入设置项,但都没找到选项。。
请问能告诉我如何设置么?
最好截个图,好么?
谢谢。
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
-
- 帖子: 768
- 注册时间: 2007-03-05 20:45
你好,我找到了download.ini其中,DOWNLOAD选项里,有这些选项,请问要修改哪个值呢?nihui 写了:在配置文件里面──download.ini
查找incoming 8)
(************************************)
(* SECTION : Download *)
(* Download options *)
(************************************)
(* Set to false if you don't want mldonkey to automatically put completed files
in incoming directory *)
auto_commit = true
(* Set to true if you want all new downloads be paused immediatly
will be set to false on core start. *)
pause_new_downloads = false
(* The maximal number of files in Downloading state (other ones are Queued) *)
max_concurrent_downloads = 60
(* The maximal length of zero bytes between non-zero bytes in a file that
should be interpreted as downloaded during a recovery *)
max_recover_zeroes_gap = 16
(* A command that is called when a file is committed, does not work on MinGW.
Arguments are (kept for compatability):
$1 - temp file name, without path
$2 - file size
$3 - filename of the committed file
Also these environment variables can be used (prefered way):
$TEMPNAME - temp file name, including path
$FILEID - same as $1
$FILESIZE - same as $2
$FILENAME - same as $3
$FILEHASH - internal hash
$DURATION - download duration
$INCOMING - directory used for commit
$NETWORK - network used for downloading
$ED2K_HASH - ed2k hash if MD4 is known
*)
file_completed_cmd = ""
(* The command which is called when a download is started. Arguments
are '-file <num>' *)
file_started_cmd = ""
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
找到这一段:
在其之下有几行
有这样的:
分别改成你所要下载文件保存的路径即可。
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)
在其之下有几行
有这样的:
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
分别改成你所要下载文件保存的路径即可。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
-
- 帖子: 768
- 注册时间: 2007-03-05 20:45
好的,非常感谢!nihui 写了:找到这一段:
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)
在其之下有几行
有这样的:
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
分别改成你所要下载文件保存的路径即可。
很抱歉,我真的没找到。最简单的,就是删除原目录。ln -s一个就是。我说的option里面有啊。web界面的设置。都不看。
- eexpress
- 帖子: 58428
- 注册时间: 2005-08-14 21:55
- 来自: 长沙
-
- 帖子: 768
- 注册时间: 2007-03-05 20:45
是的,我是在这个页面找过。。eexpress 写了:http://localhost:4080/
哈哈。
可惜的是,选项很多,但是没找到我要找的。。
- nihui
- 帖子: 1746
- 注册时间: 2006-10-21 12:03
- 来自: Shanghai
- 联系:
呵呵,我也是的。robert870119 写了:是的,我是在这个页面找过。。eexpress 写了:http://localhost:4080/
哈哈。
可惜的是,选项很多,但是没找到我要找的。。
eexpress 真是不讲清楚。
- cnshzj007
- 帖子: 685
- 注册时间: 2006-05-24 21:38
- 来自: 上海
- 联系:
- hnzksq
- 帖子: 473
- 注册时间: 2007-07-11 16:21
- 来自: 火星
- foxcl
- 帖子: 199
- 注册时间: 2009-05-22 14:34
- 联系:
Re:
那个aaaaaa和bbbbbb 能设置为同个文件夹么??帮忙看下这个,谢谢nihui 写了:找到这一段:
(* Incoming and shared directories.
At least two entries have to be present here, one with strategy
incoming_files and one with strategy incoming_directories.
Both entries can point to the same directory.
If one of the two strategies is missing, MLDonkey will create a default
directory with its entry here.
Finished BT multifile downloads are committed to the first directory
with strategy incoming_directories. Other downloads are committed
to the first directory with the strategy incoming_files.
MLdonkey searches all shared_directories with incoming_* strategies
on commit and uses the first one with enough free diskspace.
Other strategies can be found in searches.ini, section customized_sharing. *)
在其之下有几行
有这样的:
把里面的“aaaaaaaaaaa”和"bbbbbbbbbbbb"{ dirname = "aaaaaaaaaaaaaaaaaaa"
strategy = incoming_files
priority = 0
};
{ dirname = "bbbbbbbbbbbbbbbb"
strategy = incoming_directories
priority = 0
分别改成你所要下载文件保存的路径即可。
viewtopic.php?f=73&t=278400&p=1915049#p1915049
新手扫盲: viewtopic.php?f=48&t=241030&start=0
学习linux几点忠告: viewtopic.php?f=120&t=739
Say goodbye to Microsoft!
学习linux几点忠告: viewtopic.php?f=120&t=739
Say goodbye to Microsoft!