ย้ายไฟล์ที่เสร็จสมบูรณ์แล้ว (เช่นไม่ใช่ไฟล์ใหม่) ใน rtorrent
ฉันใช้ rtorrent มาระยะหนึ่งแล้วด้วยไดเรกทอรีเดียว ตอนนี้ฉันคิดว่ามันเป็นไปได้ที่จะใช้ไดเรกทอรีที่แตกต่างกันและแม้กระทั่งการย้ายดาวน์โหลดเสร็จแล้วที่อื่นดังนั้นตาม wtor rtorrent ฉันแก้ไข. rtorrent.rc ของฉันดังนี้ # Download directory directory = /Medias/torrents/ # Watching directories schedule = watch_directory_1,5,60,"load_start=/path/to/dl/dir1/*.torrent,d.set_custom1=/path/to/done/dir1" schedule = watch_directory_2,5,60,"load_start=/path/to/dl/dir2/*.torrent,d.set_custom1=/path/to/done/dir2" # On completion, move the torrent to the directory from custom1. system.method.set_key = event.download.finished,move_complete,"d.set_directory=$d.get_custom1= ;execute=mv,-u,$d.get_base_path=,$d.get_custom1=" ดูเหมือนว่าจะทำงานสำหรับเพลงใหม่ อย่างไรก็ตามฉันมีไฟล์ที่เสร็จสมบูรณ์จำนวนหนึ่งที่ฉันได้ดาวน์โหลดไปแล้วก่อนที่จะแยกไดเรกทอรีและสำหรับพวกเขามันไม่ทำงาน: ถ้าฉันลบไฟล์ในไดเรกทอรีเซสชั่น rtorrent จะตรวจสอบแฮช แต่จะไม่ย้ายมันและถ้าฉัน ย้ายพวกเขาด้วยตัวเอง rtorrent จะไม่เห็นพวกเขาและจะพยายามที่จะดาวน์โหลดใหม่ ดังนั้นฉันจะบอก rtorrent …