Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
Command line based torrent client?
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo
View previous topic :: View next topic  
Author Message
Sunnz
Guru
Guru


Joined: 18 Jun 2005
Posts: 370

PostPosted: Mon Sep 05, 2005 5:05 pm    Post subject: Command line based torrent client? Reply with quote

I want a command line based bit-torrent for downloading goodies, any suggestions?
Back to top
View user's profile Send private message
gwolf
Guru
Guru


Joined: 05 May 2005
Posts: 374
Location: Estonia

PostPosted: Mon Sep 05, 2005 5:12 pm    Post subject: Reply with quote

Maybe ctorrent or rtorrent?
_________________
War is peace. Freedom is slavery. Ketchup is a vegetable.
Back to top
View user's profile Send private message
Naib
Watchman
Watchman


Joined: 21 May 2004
Posts: 5820
Location: Removed by Neddy

PostPosted: Mon Sep 05, 2005 6:33 pm    Post subject: Reply with quote

doesnt bittorrent (the original prog) have a CLI version with hte emerge?
_________________
The best argument against democracy is a five-minute conversation with the average voter
Great Britain is a republic, with a hereditary president, while the United States is a monarchy with an elective king
Back to top
View user's profile Send private message
Taladar
Guru
Guru


Joined: 09 Oct 2004
Posts: 458
Location: Bielefeld, Germany

PostPosted: Mon Sep 05, 2005 9:33 pm    Post subject: Reply with quote

btlaunchmany.py from the original bittorrent client package works nice for me.
Back to top
View user's profile Send private message
danomac
l33t
l33t


Joined: 06 Nov 2004
Posts: 877
Location: Vancouver, BC

PostPosted: Mon Sep 05, 2005 9:58 pm    Post subject: Reply with quote

Instead of getting bittorrent through portage, download the source tarballs and use the python scripts that don't require the gui.

:)
Back to top
View user's profile Send private message
adsmith
Veteran
Veteran


Joined: 26 Sep 2004
Posts: 1386
Location: NC, USA

PostPosted: Tue Sep 06, 2005 2:04 am    Post subject: Reply with quote

once you get used to the funny keystrokes, rtorrent is awesome.

It is espescially awesome combined with screen and various session files.
Back to top
View user's profile Send private message
allucid
Veteran
Veteran


Joined: 02 Nov 2002
Posts: 1314
Location: atlanta

PostPosted: Tue Sep 06, 2005 2:22 am    Post subject: Reply with quote

danomac wrote:
Instead of getting bittorrent through portage, download the source tarballs and use the python scripts that don't require the gui.

:)

They're included in the portage version. Either btdownloadheadless.py or btdownloadcurses.py if you want to use ncurses.
Back to top
View user's profile Send private message
eyebex
n00b
n00b


Joined: 23 Jul 2005
Posts: 65

PostPosted: Fri Nov 18, 2005 8:45 pm    Post subject: Reply with quote

Well, for me there is no "btlaunchmany.py" in portage (I emerged net-p2p/bittorrent-4.1.7). So do I yet need to download the original sources?

EDIT: I noticed "btlaunchmany.py" (and other tools, too) have been renamed in version 4.1.4, it should be called "launchmany-console.py" now, but that file is also missing.

EDIT2: I solved the issue by writing my own ebuild for BitTorrent-4.1.8, this works and has "launchmany-console.py":
Code:
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-p2p/bittorrent/bittorrent-4.1.7.ebuild,v 1.1 2005/11/06 13:26:44 sekretarz Exp $

inherit distutils fdo-mime eutils

MY_P="BitTorrent-${PV}"
S=${WORKDIR}/${MY_P}

DESCRIPTION="tool for distributing files via a distributed network of nodes"
HOMEPAGE="http://www.bittorrent.com/"
SRC_URI="http://mesh.dl.sourceforge.net/sourceforge/${PN}/${MY_P}.tar.gz"

LICENSE="BitTorrent"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ppc ~sparc ~x86"
IUSE="gtk"

RDEPEND="gtk? (
                >=x11-libs/gtk+-2.4
                >=dev-python/pygtk-2.4
        )
        >=dev-lang/python-2.3
        >=dev-python/pycrypto-2.0
        !virtual/bittorrent"
DEPEND="${RDEPEND}
        app-arch/gzip
        >=sys-apps/sed-4.0.5
        dev-python/dnspython"
PROVIDE="virtual/bittorrent"

DOCS="TRACKERLESS.txt LICENSE.txt public.key"
PYTHON_MODNAME="BitTorrent"

src_unpack() {
        unpack ${A}
        cd ${S}

        # path for documentation is in lowercase (see bug #109743)
        sed -i -r "s:(dp.*appdir):\1.lower():" BitTorrent/platform.py
}

src_install() {
        distutils_src_install
        if ! use gtk; then
                rm ${D}/usr/bin/bittorrent
        fi
        dohtml redirdonate.html

        mv ${S}/{credits-l10n.txt,credits.txt} \
                ${D}/usr/share/doc/${P}
        mv ${D}/usr/share/doc/${PF} ${D}/usr/share/doc/${P}

        if use gtk ; then
                cp ${D}/usr/share/pixmaps/${MY_P}/bittorrent.ico ${D}/usr/share/pixmaps/
                make_desktop_entry "bittorrent" "BitTorrent" \
                        /usr/share/pixmaps/bittorrent.ico "Network"
                echo "MimeType=application/x-bittorrent" \
                        >> ${D}/usr/share/applications/bittorrent-${PN}.desktop
        fi

        insinto /etc/conf.d
        newins ${FILESDIR}/bttrack.conf bttrack

        exeinto /etc/init.d
        newexe ${FILESDIR}/bttrack.rc-4.1 bttrack
}

pkg_postinst() {
        einfo "Remember that BitTorrent has changed file naming scheme"
        einfo "To run BitTorrent just execute /usr/bin/bittorrent"
        distutils_pkg_postinst
        fdo-mime_desktop_database_update
}
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Fri Nov 18, 2005 11:50 pm    Post subject: Reply with quote

screen+rtorrent=the sh*t, ctorrent is nothing compared to rtorrent. my one gripe is that rtorrents stats are alittle confusing.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
eyebex
n00b
n00b


Joined: 23 Jul 2005
Posts: 65

PostPosted: Fri Nov 18, 2005 11:58 pm    Post subject: Reply with quote

Can rtorrent also sit there & watch a directory, and start downloading as soon .torrent files are copied to that directory?
Back to top
View user's profile Send private message
Shadow Skill
Veteran
Veteran


Joined: 04 Dec 2004
Posts: 1023

PostPosted: Sat Nov 19, 2005 1:19 am    Post subject: Reply with quote

I have no idea but you could probably have your web browser use a terminal command to achieve that effect. If it isn't possible to set that up qith rtorrent it might be a good idea to email the developer about it.
_________________
Ware wa mutekinari.
Wa ga kage waza ni kanau mono nashi.
Wa ga ichigeki wa mutekinari.

"First there was nothing, so the lord gave us light. There was still nothing, but at least you could see it."
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Other Things Gentoo All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum