hello
we have upload some data in 15 servers in usa asia ...
i consider to add new feature , script can detect download speed between localhost and destination and use fastest server,
i have cut this part from a script which have this feature, download a xx MB file from all its source and check speed, and use fastest one:
I have searched the FAQ - by using sort, duplicates, etc.... but I didn't get any articles or results on it.
Currently, I am using:
sort -u file1 > file2 to remove duplicates. For a file size of 1giga byte approx. time taken to remove duplicates is 1hr 21 mins.
Is there any other faster way... (15 Replies)
Hi!
I have thousands of sub-directories, and hundreds of thousands of files in them. What is the fast way to find out which files are older than a certain date? Is the "find" command the fastest? Or is there some other way?
Right now I have a C script that traverses through and checks... (5 Replies)
hello
i need help to remove directory . The directory is not empty ., it contains
several sub directories and files inside that..
total number of files in one directory is 12,24,446 .
rm -rf doesnt work . it is prompting for every file ..
i want to delete without prompting and... (6 Replies)
I want to search a file in fastest manner.
Presently I am using 'find' command. But it is taking around 15min for searching. Is there any other method through which I can do it fast? (3 Replies)
I have a 5 GB text file(log/debug)
I want to delete all lines containing 'TRACE'
Command used
sed -i '/TRACE/d' mylog.txt
Is there any other fastest way to do this? (1 Reply)
Hi Experts,
I've been asked if there is a fast way to duplicate a file(10GB) and zip it at the same time. The zipped file would be FTP'd.....management is asking this. Maybe there is a better method all together? any ideas? CP will not cut it.
Thanks in advance
Harley (1 Reply)
Hi all,
We use strlen() fun provided by library to find the length of a string.
Looking inside of it, it has some different mechanism to find the length of string.
Normally, we scan the string byte by byte until the '\0' character. It takes a logn time to count length.
The Library strlen()... (2 Replies)
Hi expert,
Is there any fastest way to calculate recursive directory, and I have total 600 directories have 100000 files and 10 directory approximately 9000000 - 10000000 each files per directory. currently using this command "du -k --max-depth=0" to get the size but very slow it take 24 hours... (9 Replies)
Dear Experts,
I would like to know what's the best method for copy data around 3 mio (spread in a hundred folders, size each file around 1kb) between 2 servers?
I already tried using Rsync and tar command. But using these command is too long.
Please advice.
Thanks
Edy (11 Replies)
Discussion started by: edydsuranta
11 Replies
LEARN ABOUT DEBIAN
transmission-cli
TRANSMISSION-CLI(1) BSD General Commands Manual TRANSMISSION-CLI(1)NAME
transmission-cli -- a bittorrent client
SYNOPSIS
transmission-cli -h
transmission-cli [-b | -B] [-d number | -D] [-er | -ep | -et] [-f script] [-g directory] [-h] [-m | -M] [-p port] [-t] [-u number | -U] [-v]
[-w directory] torrent-file
DESCRIPTION
The transmission-cli program is a lightweight, command-line BitTorrent client with scripting capabilities.
The options are as follows:
-b --blocklist
Enable peer blocklists. Transmission understands the bluetack blocklist file format. New blocklists can be added by copying them
into the config-dir's "blocklists" subdirectory.
-B --no-blocklist
Disble blocklists.
-d, --downlimit number
Set the maximum download speed in KB/s
-D, --no-downlimit
Don't limit the download speed
-er --encryption-required
Encrypt all peer connections.
-ep --encryption-preferred
Prefer encrypted peer connections.
-et --encryption-tolerated
Prefer unencrypted peer connections.
-f, --finish script
Set a script to run when the torrent finishes
-g, --config-dir directory
Where to look for configuration files. This can be used to swap between using the cli, daemon, gtk, and qt clients. See
http://trac.transmissionbt.com/wiki/ConfigFiles for more information.
-h, --help
Prints a short usage summary.
-m, --portmap
Enable portmapping via NAT-PMP or UPnP
-M, --no-portmap
Disable portmapping
-n, --new sourcefile
Create torrent from the specified file or directory
-p, --port port
Set the port to listen for incoming peers. (Default: 51413)
-t, --tos
Set the peer socket TOS for local router-based traffic shaping.
-u, --uplimit number
Set the maximum upload speed in KB/s
-U, --no-uplimit
Don't limit the upload speed
-v, --verify
Verify the torrent's downloaded data.
-w, --download-dir directory
Where to save downloaded data.
SIGNALS
In addition to these options, sending transmission-cli a SIGHUP signal will contact the tracker for more peers.
ENVIRONMENT
TRANSMISSION_HOME
Sets the default config-dir.
http_proxy libcurl uses this environment variable when performing tracker announces.
FILES
~/.config/transmission
Directory where transmission-cli keeps torrent information for future seeding and resume operations.
AUTHORS
The transmission-cli program was written by Eric Petit, Josh Elsasser, Jordan Lee, and Mitchell Livingston.
SEE ALSO transmission-create(1), transmission-daemon(1), transmission-edit(1), transmission-gtk(1), transmission-qt(1), transmission-remote(1),
transmission-show(1)
http://www.transmissionbt.com/
BSD July 21, 2008 BSD