File: GETTING_STARTED

package info (click to toggle)
rccp 0.9-2.1
  • links: PTS
  • area: main
  • in suites: lenny
  • size: 252 kB
  • ctags: 44
  • sloc: ansic: 830; sh: 260; perl: 134; makefile: 30
file content (88 lines) | stat: -rw-r--r-- 2,021 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
Getting Started Guide
=====================


This is the basic steps on getting started.

cd to the cccp/script directory. We will be using some scripts there.

bash$ cd <path to cccp install dir)/scripts

Lets find a nice hub that we can connect to.

bash$ hublist

This command will output all the hubs on the network.
Pick one that you want to connect to. If you want to 
sort the output you can use the sorthublist script.
Like this

bash$ hublist | ./sorthublist

This script will output the biggest hub last.

Now we should connect to a hub. For this we could use
the dc script.

bash$ ./dc macgyvers.evildc.net

You will now hopefully be connected. If not try connect to
another hub with the GOTO command. Like this.

bash$ cccp -r "GOTO anotherhub.evildc.net"

Now.. lets search for some mp3.

bash$ cccp -s "Metallica"

If it outputs to much information. Pipe the output to a file. Like this

bash$ cccp -s "Metallica" > m.txt


Check out the m.txt file and remove some entries that you dont want then
download the files with the dlsearchresult script. Like this.

bash$ cat m.txt | ./dlsearchresult


Now just wait for the files to be ready. If you want to check your transfer
queue. use the -gl switch.

bash$ cccp -gl

or use the seg_list.pl script. 
 

Now lets try some more fun stuff. Lets watch a query and download a results
from it every minute.

For this we have the robot scripts. Start this to download a metallica that
comes into the hub.

bash$ ./mpg_robot metallica

Then watch your ~/dc/done directory after a day or so for new files.


Another thing that is usefull. Lets say you are searching for a
specific file and want to find out what hub has the file. Use
the multihubsearch script. It will traverse all hub searching for
your file.

bash$ ./multihubsearch RareFile

This will output the search query in a file. 

when you are done and want to close dctc down.

bash$ cccp -x 

or 

bash$ cccp -X

if you want to cancel current transfers.


if questions or suggestions -> hampa@chello.se