Sponsored Content
Full Discussion: Number of html files
Top Forums UNIX for Dummies Questions & Answers Number of html files Post 21524 by rwb1959 on Friday 17th of May 2002 01:03:24 PM
Old 05-17-2002
"cd" to the "folder" (directory) in which the
files are located.

do...

ls -l *.html | wc -l

...this will return the count of the number of .html files
in the current directory
 

10 More Discussions You Might Find Interesting

1. UNIX for Dummies Questions & Answers

Using MIME to send html files

:confused: I am a programmer, but need to work with UNIX in this particular situation. I am used to the plain "mail -s" command and also familiar with how to send attachments in html... but I now need to send an email (not an attachment) in html format so I can embed links... etc. I am told... (2 Replies)
Discussion started by: cgardiner
2 Replies

2. UNIX for Advanced & Expert Users

How to use lp to print html files ?

If I try using lp to print html files (being generated by our application) to a regular print queue all it prints is the code. How can I print the generated html as the user would see in a browser using lp ? TIA (1 Reply)
Discussion started by: KingOfHearts
1 Replies

3. UNIX for Dummies Questions & Answers

how to compress html files

Hello, On a Centos 5.0 server, Apache 2.2 delivers static html page. How could I compress those html pages to gain speed and save bandwidth? is there a utility that would be effective and save? Thanks (2 Replies)
Discussion started by: JCR
2 Replies

4. Shell Programming and Scripting

sed of big html files

hi friends, i have to cut a large html file between tag " <!-- DEFACEMENTS ROWS -->" "<!-- DISCLAIMER FOOTER -->" and store cut data in other file please help me!!!! (2 Replies)
Discussion started by: praneshbmishra
2 Replies

5. Web Development

Concat of two html files

By launching two SQL scripts I get two html files report_1.html and report_2.html with different background and text colors (white/blue for the former and silver/black for the latter) but if I try to concat the two html by using the CAT function on UNIX Server where Oracle is installed (cat... (2 Replies)
Discussion started by: Mark1970
2 Replies

6. Shell Programming and Scripting

How to remove urls from html files

Does anybody know how to remove all urls from html files? all urls are links with anchor texts in the form of <a href="http://www.anydomain.com">ANCHOR</a> they may start with www or not. Goal is to delete all urls and keep the ANCHOR text and if possible to change tags around anchor to... (2 Replies)
Discussion started by: georgi58
2 Replies

7. Shell Programming and Scripting

Word count in html files

Hi does somebody know how to do a word count in a .html file? Just the text words, without all the html code. Thanks (4 Replies)
Discussion started by: louisJ
4 Replies

8. Shell Programming and Scripting

How to count number of files in directory and write to new file with number of files and their name?

Hi! I just want to count number of files in a directory, and write to new text file, with number of files and their name output should look like this,, assume that below one is a new file created by script Number of files in directory = 25 1. a.txt 2. abc.txt 3. asd.dat... (20 Replies)
Discussion started by: Akshay Hegde
20 Replies

9. OS X (Apple)

How to join several HTML files?

Hello I need to merge several HTML files into one and possibly convert it to ".rtf" All files are in the same folder. The files contain Links I need to keep Any hints? Thanks (4 Replies)
Discussion started by: Etnad
4 Replies

10. Shell Programming and Scripting

List files with number to select based on number

Hi experts, I am using KSH and I am need to display file with number in front of file names and user can select it by entering the number. I am trying to use following command to display list with numbers. but I do not know how to capture number and identify what file it is to be used for... (5 Replies)
Discussion started by: mysocks
5 Replies
ODIDX(1)						      Quick Database Manager							  ODIDX(1)

NAME
odidx - indexer of document files SYNOPSIS
odidx register [-l file] [-wmax num] [-tsuf sufs] [-hsuf sufs] name[dir] odidx relate name odidx purge name DESCRIPTION
This manual page documents briefly the odidx commands. The command odidx is a utility for indexing files on the local file system. This command is useful for a full-text search system of a Web site. Supported file format are plain text and HTML. Supported character encoding are US-ASCII and ISO-8859-1. The URI of each document is specified with the path of its file. Attributes named as title and date are given to each documents. When a document is already existing in the database, it is registered if its last modification time is newer, or it is ignored. Modification times are stored in the sub database `_mtime' in the main database directory. Score information are stored in the sub database `_score' in the main database directory. This command is used in the above format. name specifies a database name. dir specifies a directory name. OPTIONS
A summary of options is included below. For a complete description, see the file:///usr/share/doc/qdbm-doc/spex.html#odeumcli. -l file read a file and get list of paths of files to register. If `-' is specified, the standard input is read. -wmax num specify the max number of words to be stored in the document database. -tsuf sufs specify suffixes of plain text files in comma separated format. The default is `-tsuf .txt,.text'. -hsuf sufs specify suffixes of HTML files in comma separated format. The default is `-hsuf .html,.htm'. EXAMPLES
For example, to register files which are under `/home/mikio' and whose suffix are `.txt', `.c', or `.h', perform the following command. odidx register -tsuf ".txt,.c,.h" -hsuf "" casket /home/mikio Thus, to retrieve documents which include `unix' and `posix' and show the top 8 terms, perform the following command. odmgr search -max 8 -h casket "unix posix" SEE ALSO
qdbm(3), odmgr(1), odeum(3), odopen(3). AUTHOR
QDBM was written by Mikio Hirabayashi <mikio@fallabs.com>. This manual page was written by Fumitoshi UKAI <ukai@debian.or.jp>, for the Debian project (but may be used by others). Man Page 2005-05-23 ODIDX(1)
All times are GMT -4. The time now is 02:31 AM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy