Sponsored Content
Top Forums UNIX for Dummies Questions & Answers Lynx - Downloading - extension handling - changing mime type? Post 302072612 by yitzle on Thursday 4th of May 2006 12:10:44 PM
Old 05-04-2006
Lynx - Downloading - extension handling - changing mime type?

Using Lynx, when I try to download a .rar, it confirms I want to download and its got it as an appication/rar file.
However, split archives that end in .r## (.r00, .r01 ...) are not recognized as an appication/rar file and it reads the file like a .txt or .html.
How can I fix this?

Thanks!
 

8 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Downloading with lynx

Hi there! I one saw a command that allowed to download a file using lynx from an HTTP server without opening lynx itself. Looked something like this: $ lynx -xyz http://localhost/foo.bar ~/foo.bar I looked into lynx manpages and help but didn't find anything. Thank you in advance (2 Replies)
Discussion started by: D-Lexy
2 Replies

2. UNIX for Advanced & Expert Users

How to Set Mime type to mailx

I have a problem while sending attachement , it is displying Content into body of mail (Junk Data) instead of attachment (zip format) in Linux, same code is working in Sun Solaris.. I have read query in this site , need to set MIME type to mailx componment. Please help me how to set MIME type..... (1 Reply)
Discussion started by: suneel
1 Replies

3. Shell Programming and Scripting

Changing extension

Hi , I need to replace the file name extension with txt to csv,i wrote the below script when executing its giving the below error.Please anyone how to do this? $ a2.sh mv: *.: cannot access: No such file or directory ./a2.sh: o: bad number $ vi a2.sh a2.sh ----- #!/bin/ksh txt=$1... (4 Replies)
Discussion started by: mohan705
4 Replies

4. Shell Programming and Scripting

Retrieving File's Mime-type

Alright, so I am trying to use perl (or any other shell scripting language, awk/sed/bash for instance), to retrieve the mime-type of a file. I want to keep it in one file, and most of the modules that are on cpan that check for mime types (Magic), aren't installed on these boxes. Anyone have... (2 Replies)
Discussion started by: Rhije
2 Replies

5. Shell Programming and Scripting

determine file type by content, not extension

I have a directory structure with multiple sub directories. Within each directory, there are files without extensions. Is it possible to somehow tell what the file type should be by the file contents? For example, I opened one of the files using an editor. After scrolling to the end of the... (2 Replies)
Discussion started by: daflore
2 Replies

6. Shell Programming and Scripting

MIME Type detection for Net::SMTP

I've spent a good two weeks on trying to figure out a proper way to get the mime type of a file. The "file" command on the Sparc machine I'm working on is an older version and does not support the --mime flag. It outputs things like: somefile.pdf: Adobe Portable Document Format (PDF) v1.5 ... (3 Replies)
Discussion started by: mrwatkin
3 Replies

7. Shell Programming and Scripting

Downloading jpgs from a gallery type website

Can someone explain what this does step by step? I found this script on stackoverflow and want to customize it for personal use in downloading jpg images from a website. # get all pages curl 'http://domain.com/id/' -o '#1.html' # get all images grep -oh... (3 Replies)
Discussion started by: workisnotfun
3 Replies

8. UNIX for Beginners Questions & Answers

MIME type for sending gzip file as attachment in email

Hello, I am trying to send a gzip file on email using below command but the zipped file received on email is corrupt. mailsend -smtp $smtpip -content-type 'application/x-gzip' -mime-type "application/x-gzip" -t $receiver -f $sender -sub "$subject" -M "$MSG" -attach $file file name is ... (1 Reply)
Discussion started by: tushar.modgil
1 Replies
INSMBKRDS(3)						      RDS PHYSICAL FUNCTIONS						      INSMBKRDS(3)

NAME
insmbkrds - converts MBK figure to RDS figure ORIGIN
This software belongs to the ALLIANCE CAD SYSTEM developed by the ASIM team at LIP6 laboratory of Universite Pierre et Marie CURIE, in Paris, France. Web : http://asim.lip6.fr/recherche/alliance/ E-mail : alliance-users@asim.lip6.fr SYNOPSYS
#include "rfmnnn.h" rdsins_list *insmbkrds( FigureRds, InstanceMbk, Mode, Lynx ) rdsfig_list *FigureRds; phins_list *InstanceMbk; char Mode; char Lynx; PARAMETER
FigureRds The Rds figure which has to receive the RDS instance issue to the MBK instance conversion. InstanceMbk MBK instance which has to be converted and added to the RDS figure. Mode This field can take three values : 'A' : All the cell is loaded in ram. 'P' : Only information concerning the model interface is present, that means connector s and the abutment box. 'C' : Finishes to fill an already loaded figure in 'P' mode, in order to have it all in memory. After this, the conver- sion is applied. Note : The loading mode here is the MBK mode. Lynx Flag used for the segment conversion. If the parameter Lynx is set to 0 then thi s is the normal conversion mode. If the parameter Lynx is set to 1 then the rds structure generated permits to extract equipotentials rectangles. DESCRIPTION
The insmbkrds function creates in the RDS figure the RDS instance issue to the convertion of the MBK instance to RDS format. If the parame- ter 'Mode' is set to 'A' then all the instance is loaded, else if parameter 'Mode' is set to 'P' then connectors and abutment box and through routes are loaded (for more information, see getphfig and loadphfig MBK functions). RETURN VALUE
A pointer to the newly created instance is returned. ERRORS
"Rds202: rdsalloc error, can't continue !" it's impossible to allocate the memory size desired EXAMPLE
#include "mphnnn.h" #include "mutnnn.h" #include "rdsnnn.h" #include "rfmnnn.h" #include "rtlnnn.h" typedef struct UserStruct { char *STRING; void *USER1; } UserStruct; main() { phfig_list *MbkFigure; phins_list *MbkInstance; rdsfig_list *RdsFigure; rdsins_list *RdsInstance; mbkenv(); rdsenv(); loadrdsparam(); /* create MbkFigure Named "core" */ MbkFigure = addphfig("core"); /* add Mbk instance "n1_y" to MbkFigure named "core" */ MbkInstance = addphins(MbkFigure,"n1_y","inv_1",NOSYM,4,9); /* create RdsFigure named "core_2" */ RdsFigure = addrdsfig("core_2",sizeof(UserStruct)); /* create RdsInstance with MbkInstance */ RdsInstance = insmbkrds ( RdsFigure, MbkInstance, 'A', 0 ); viewrdsins ( RdsInstance ); . . . } SEE ALSO
librfm, librds, viewrfmins, loadrdsparam BUG REPORT
This tool is under development at the ASIM department of the LIP6 laboratory. We need your feedback to improve documentation and tools. ASIM
/LIP6 October 1, 1997 INSMBKRDS(3)
All times are GMT -4. The time now is 06:04 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy