Hello,
is there a way to go through a file and remove certain html tags with bash? If it needs sed or awk, that'll do too.
The reason why I want this is, because I have a monitor script which generates a logfile in HTML and every time it generates a logfile, the tags are reproduced. The tags... (4 Replies)
Hello,
i try to extract urls from google-search-results, but i have problem with sed filtering of html-code.
what i wont is just list of urls thay apears between ........<p><a href=" and next following " in html code.
here is my code, i use wget and pipelines to filtering. wget works, but... (13 Replies)
Hello,
I have one file which has been inserted intermittently with HTML web page.
I would like to remove all text between "<html xmlns="http://www.w3.org/1999/xhtml">" and </html> tags.
Can any one please suggest me sed regular expression for it.
Thanks (3 Replies)
Hi,
I need to basically get a list of all the tarballs located at uri
I am currently doing a wget on urito get the index.html page
Now this index page contains the list of uris that I want to use in my bash script.
can someone please guide me ,.
I am new to Linux and shell scripting.
... (5 Replies)
Hi everyone. I have an html file with lines like so:
link href="localFolder/...">
link href="htp://...">
img src="localFolder/...">
img src="htp://...">
I want to remove the links with http in the href and imgs with http in its src. I'm having trouble removing them because there... (4 Replies)
Hello,
I just saw that on my vps (centOS) my oscommerce with a seo script
has created millions of tmp files inside the /html/cache/ directory.
I would need to remove all those files (millions), I tried via shell but the vps
loads goes to very high and it hangs, is there some way to do a... (7 Replies)
Does anybody know how i can remove string from <a> tag?
There are several hundred posts in a few forums that need to be cleaned up.
The precise situation is
----------
<a href="http://mydomain.com/cgi-bin/anyboard.cgi?fvp=/family/sexuality_and_spirituality/&cmd=rA&cG=43">
-------------
my... (6 Replies)
Hi all,
How might I go about writing a program that will read all input as an HTML file, and subsequently strip all HTML, embedded scripts and style sheets from its input, leaving only text as the output?
I am a beginner, so the simpler, the better.
Thanks for any advice :) (4 Replies)
Hi,
I have a txt file which contain this:
<a href="linux">Linux</a>
<a href="unix">Unix</a>
<a href="oracle">Oracle</a>
<a href="perl">Perl</a>
I'm trying to extract the text in between these anchor tag and ignoring everything else using grep. I managed to ignore the tags but unable to... (6 Replies)
Hi,
I am looking for a regex that will validate a URL and files accessed in a browser.
For example:http://www.google.co.uk
http://www.google.com
https://www.google.co.uk
https://www.google.com
ftp://
file:///somefile/on/a/server/accessed/from/browser/file.txt
So far I have:
... (4 Replies)
Discussion started by: muay_tb
4 Replies
LEARN ABOUT DEBIAN
phatch
PHATCH(1) General Commands Manual PHATCH(1)NAME
Phatch - Photo Batch Processor
DESCRIPTION
Phatch is a simple photo batch processor. It handles all popular image formats and can duplicate (sub)folder hierarchies. It can also
batch resize, rotate, rename, ... and more in minutes instead of hours or days if you do it manually.
SYNOPSIS
Phatch [actionlist]
Phatch [options] [actionlist] [image folders/files/urls]
Phatch --inspect [image files/urls]
Phatch --droplet [actionlist/recent] [image files/urls]
OPTIONS --version
Show program's version number and exit.
-h, --help
Show the command line options which are accepted by Phatch
-c, --console
Run Phatch as console program without a gui
-d, --droplet
Run Phatch as a gui droplet
--desktop
Save always on desktop
-f, --force
Ignore errors
--fonts
Initialize fonts (only for installation scripts)
-i, --interactive
Interactive
-k, --keep
Keep existing images (don't overwrite)
-l LOCALE
Specify locale language (for example en or en_GB)
-n, --inspect
Inspect metadata (requires exif & iptc plugin)
--no-save
No save action required at the end
-r, --recursive
Include all subfolders
-t, --trust
Do not check images first
--unsafe
Allow Geek action and unsafe expressions
-v, --verbose
Verbose
EXAMPLES
phatch action_list.phatch
phatch --verbose --recursive action_list.py image_file.png image_folder
phatch --inspect image_file.jpg
phatch --droplet recent
phatch -l el
AUTHOR
Stani (spe.stani.be (at) gmail.com)
User Commands February 2009 PHATCH(1)