[ale] Creating and Verifying Torrent Files?

Lightner, Jeff JLightner at water.com
Mon May 9 15:00:20 EDT 2011


I wasn't suggesting the string(3) C function but rather the strings(1)
command.

 

Usage is quite simple: 

 

strings <file>"

 

Where file would be the one you were trying to see text in e.g. "strings
.torrent".

 

Of course the output you get may not be quite as simple (your average
binary gives all sorts of random character lines) and as I noted may not
be what you need to do the validation you want.   However, it may be of
help depending on what you're looking for and how it is stored.   They
don't allow torrents here (tried explaining it saves bandwidth to them
but they don't seem to undersand) so I don't have a .torrent to play
with.   Doing "strings .torrent |grep <text>" for text you expect to see
in the .torrent might be what you need.

 

________________________________

From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf Of Marc
Ferguson
Sent: Monday, May 09, 2011 1:50 PM
To: Atlanta Linux Enthusiasts
Subject: Re: [ale] Creating and Verifying Torrent Files?

 

On Mon, May 9, 2011 at 12:20 PM, Lightner, Jeff <JLightner at water.com>
wrote:

	The "strings" command run against a file (including binaries)
will show any text it contains.   Not sure if that would give you enough
to do the validation you seek though.

	 

	
________________________________


	From: ale-bounces at ale.org [mailto:ale-bounces at ale.org] On Behalf
Of Marc Ferguson
	Sent: Monday, May 09, 2011 12:10 PM
	To: Atlanta Linux Enthusiasts
	Subject: [ale] Creating and Verifying Torrent Files?

	 

	Hey Fellas,
	
	I'm trying to create a torrent file via CLI, but I'm stuck after
creating the file. I want to verify that it created the file correctly,
but I don't want to verify by uploading the file to my public server,
use another torrent client, etc. Is there a way I can read the .torrent
file via CLI? I tried using "less" and "nano", but it told me it's a
binary file so it's all gobbly goop.
	
	I used transmission-create. Thanks for any help.
	
	I posted this same question on Fedora's Forum:
	
http://forums.fedoraforum.org/showthread.php?p=1469454#post1469454
	
	-- 
	Marc Ferguson
	
	Registered Linux User #410978
	www.fergytech.com | www.digitalalias.net
	
	"When life gives me lemons... I make Linuxaide, hmm good stuff!"

	 

	Proud partner. Susan G. Komen for the Cure. 

	 

	Please consider our environment before printing this e-mail or
attachments. 

	----------------------------------
	CONFIDENTIALITY NOTICE: This e-mail may contain privileged or
confidential information and is for the sole use of the intended
recipient(s). If you are not the intended recipient, any disclosure,
copying, distribution, or use of the contents of this information is
prohibited and may be unlawful. If you have received this electronic
transmission in error, please reply immediately to the sender that you
have received the message in error, and delete it. Thank you.
	----------------------------------

	
	_______________________________________________
	Ale mailing list
	Ale at ale.org
	http://mail.ale.org/mailman/listinfo/ale
	See JOBS, ANNOUNCE and SCHOOLS lists at
	http://mail.ale.org/mailman/listinfo


Thanks for the suggestion, Jeff. I tried using _string_, but I couldn't
totally figure it out. I thought about it some more and lo and behold
there's a _transmission-show_ command that does exactly what I'm looking
for.

-- 
Marc Ferguson

Registered Linux User #410978
www.fergytech.com | www.digitalalias.net

"When life gives me lemons... I make Linuxaide, hmm good stuff!"

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://mail.ale.org/pipermail/ale/attachments/20110509/8bf67083/attachment-0001.html 


More information about the Ale mailing list