LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Software (https://www.linuxquestions.org/questions/linux-software-2/)
-   -   Save web references (https://www.linuxquestions.org/questions/linux-software-2/save-web-references-689625/)

fiomba 12-10-2008 11:54 AM

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...


All times are GMT -5. The time now is 10:39 PM.