05-28-2015
10 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
I have a html file called myfile. If I simply put "cat myfile.html" in UNIX, it shows all the html tags like <a href=r/26><img src="http://www>. But I want to extract only text part.
Same problem happens in "type" command in MS-DOS.
I know you can do it by opening it in Internet Explorer,... (4 Replies)
Discussion started by: los111
4 Replies
2. Web Development
Because of permission issues, I need to link to images in my web page which are stored in /tmp which of course is located in the root directory but my actual html page is much further down in another directory. I thought the the following code should work, but the image comes up as a broken link:... (2 Replies)
Discussion started by: Solerous
2 Replies
3. UNIX for Advanced & Expert Users
I am trying to use shellinabox as a terminal emulator. Everything is working except there seems to be no way to simulate an F14 button press in shellinabox. I am already embedding shellinabox in an html page so Im am wondering if there is a way to make an html/js button that will pass F14 to the... (0 Replies)
Discussion started by: syadnom
0 Replies
4. Shell Programming and Scripting
encoding type for images? (5 Replies)
Discussion started by: biswasbaishali
5 Replies
5. Red Hat
Hi there..
I need a proper "mutt" command to send a mail with html body and html attachment at a time.
Also if possible let me know the other commands to do this task.
Please help me.. (2 Replies)
Discussion started by: vickramshetty
2 Replies
6. Shell Programming and Scripting
Here is what I have so far
#!/bin/bash
while
do
read image
jpegtopnm $image | pnmscale -height 200 | pnmtojpeg > $image-thumb
echo $image-thumb
shift
done
I sorta threw some pseudocode in there to demonstrate what I'm trying to do. . Where I am... (3 Replies)
Discussion started by: subway69
3 Replies
7. Shell Programming and Scripting
I tried to find elegant (or at least simple) way to remove all but couple of html tags from html file, but all examples I found dealt with removing all the tags.
The logic of the script would be:
- if there is <li> or <ul> on the line, do nothing (=write same line to output)
- if there is:... (0 Replies)
Discussion started by: juubuntu
0 Replies
8. UNIX for Advanced & Expert Users
Hi all:
Been racking my brain on this for the last couple of days and what has been most frustrating is that this is the last piece I need to complete a project.
There are numerous posts discussing mutt in this forum and others but I have been unable to find similar issues.
Running with... (1 Reply)
Discussion started by: raggmopp
1 Replies
9. Shell Programming and Scripting
Hi,
I need to search and replace references to duplicated images in HTML code. There are several groups of duplicated images, which are visually the same, but with different filenames. I managed to find the duplicated files themselves, but now I need to clean the code too. I have a CSV file with... (9 Replies)
Discussion started by: mdart
9 Replies
10. Shell Programming and Scripting
Ultimately, I'm looking to create a script that allows me to plug in a usb drive with lots of jpegs on it & copy them over to a folder on my hard drive. So in the process of copying I am looking to hash check them, record dupes to a file, copy only 1 of the identical files (if it doesn't exsist... (1 Reply)
Discussion started by: JonaQuinn
1 Replies
LEARN ABOUT SUSE
web2disk
WEB2DISK(1) calibre WEB2DISK(1)
NAME
web2disk - part of calibre
SYNOPSIS
web2disk URL
DESCRIPTION
Where URL is for example http://google.com
Whenever you pass arguments to web2disk that have spaces in them, enclose the arguments in quotation marks.
OPTIONS
--version
show program's version number and exit
-h, --help
show this help message and exit
-d, --base-dir
Base directory into which URL is saved. Default is .
-t, --timeout
Timeout in seconds to wait for a response from the server. Default: 10.0 s
-r, --max-recursions
Maximum number of levels to recurse i.e. depth of links to follow. Default 1
-n, --max-files
The maximum number of files to download. This only applies to files from <a href> tags. Default is 9223372036854775807
--delay
Minimum interval in seconds between consecutive fetches. Default is 0 s
--encoding
The character encoding for the websites you are trying to download. The default is to try and guess the encoding.
--match-regexp
Only links that match this regular expression will be followed. This option can be specified multiple times, in which case as long
as a link matches any one regexp, it will be followed. By default all links are followed.
--filter-regexp
Any link that matches this regular expression will be ignored. This option can be specified multiple times, in which case as long as
any regexp matches a link, it will be ignored.By default, no links are ignored. If both --filter-regexp and --match-regexp are spec-
ified, then --filter-regexp is applied first.
--dont-download-stylesheets
Do not download CSS stylesheets.
--verbose
Show detailed output information. Useful for debugging
SEE ALSO
The User Manual is available at http://calibre-ebook.com/user_manual
Created by Kovid Goyal <kovid@kovidgoyal.net>
web2disk (calibre 0.6.53) July 2010 WEB2DISK(1)