LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 12-10-2008, 11:54 AM   #1
fiomba
Member
 
Registered: Sep 2004
Posts: 63

Rep: Reputation: 15
Save web references


Hi all,
when I save from the web a file (html or other) I find the need to have a
web reference. Here is a solution I found:
Code:
- save the web reference in a file (I use "web~filename.txt")
        for ex. http://pybrary.net/pyPdf/
                saved in web~pyPdf.html.txt

- get all the web references by an alias:
         alias web='find . -name "web~*.txt"> pippo; 
                    for l in `cat pippo`;
                    do 
                        echo;
                        echo $l;
                        echo $l|xargs cat;
                    done'
- executing the alias (web), you obtain something like that:
  Wed 10 ~ web
  
  ./python/pyPdf/pyPdf_files/web~pyPdf.html.txt
  http://pybrary.net/pyPdf/

  ./python/pyPdf/pyPdf_doc_files/web~pyPdf_doc.html.txt   
  http://pybrary.net/pyPdf/pythondoc-pyPdf.pdf.html
I am curious to get expert's comment, also to verify if there is a less
involved system...
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Know a convenient way to save (or export) a web page to PDF? lumix Linux - General 4 04-13-2010 10:26 AM
I don't want the web page to save the text on field. RMLinux Linux - Newbie 2 09-30-2008 10:42 PM
LXer: Save a Web page for later with Read It Later extension LXer Syndicated Linux News 0 09-29-2008 11:50 AM
LXer: The Web Common Alerting Protocol can save lives LXer Syndicated Linux News 0 08-21-2007 12:20 PM
How do -you- save STATE across web applications? lowpro2k3 Programming 2 05-23-2005 05:24 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 09:16 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration