I'm trying to figure out how to build a small shell script that will find old .shtml files in every /tgp/ directory on the server and delete them if they are older than 10 days...
The structure of the paths are like this:
/home/domains/www.domain2.com/tgp/
/home/domains/www.domain3.com/tgp/... (1 Reply)
A painfully rudimentary UNIX question for somebody. I've been puzzling over this for the last hour but can't find the right command.
I'm simply trying to get a list of all files - and their full paths - within a folder & subfolders which have extension .php and .js. That's it! No amount of... (1 Reply)
Hi Friends
How to list of all files in a particular directory structure, with out listing a particular file extn.
I mean to say in a folder structure I have many files ..I want to list them with out *.class files.
Please help
Thanks
Joy (3 Replies)
Hi,
im having problem that frustate me today.
there are list of file in a folder that i want to grab
the folder /subject/items/
in this folder there are this file
CREATE_SUBxxxx.xml
UPDATE_SUBxxxx.xml
DELETE_SUBxxxx.xml
loginresponsexxxxx.xml
core
how can i grab all the file... (1 Reply)
hi,
I want to search all files in the current working direcotry and to print in comma (,) seperated output. But I have two patterns to search for.
Files will be in ABC20100508.DAT format.
Search should happen on the format (ABC????????.DAT) along with date(20100508).
I can do a
ls... (2 Replies)
Hi
I would like to know how I can check whether there is one or more folders in the current directory which begins with e.g. 2011-11.
Initially I figured that this could easily be done simply by:
if ; then ...
However if there is more than one folder which begins with 2011-11 then it... (1 Reply)
Hi,
I need to list the names of existing files in a specific folder. I have written a script for that, but the problem is, it is also picking up name of a subfolder that is there in that folder. I need only the list of files and not that subfolder. How to go about that ? Can anyone plz help... (2 Replies)
Hi All,
I want to copy all the contents of a list of files in a folder to a particular file. i am using following command:
cat dir/* >> newFile.txtIt's not working.
Could you please help?
Thanks,
Pranav (3 Replies)
Hello All:
We are looking to search through 2000 files with around 21,000 statements where we have to search, replace and insert a pattern based on the following:
1) Parse through the file and check for CREATE MULTISET TABLE or CREATE SET TABLE statements.....and they always end with ON... (5 Replies)
I am writing a code that can move and archve all the files in a directory except the latest file based on file pattern provided in a controlfile.
The filename is in the form of pattern. So basically we find the all the files of the pattern provided and archive all of them, leaving one latest file.... (3 Replies)
Discussion started by: Saanvi1
3 Replies
LEARN ABOUT DEBIAN
texify
TEXIFY(1) General Commands Manual TEXIFY(1)NAME
texify - format code for use with LaTeX
SYNOPSIS
texify<input-type> [OPTION]...
DESCRIPTION
texify translates source code written in any of several different languages to latex(1) source files. The purpose is to make source code
embedded in documents more readable, by providing syntax highliting.
OPTIONS -i FILE
Read from FILE instead of standard input.
-o FILE
Write to FILE instead of standard output.
-l LENGTH
Limit line length to LENGTH.
-t LENGTH
Make a tab correspond to LENGTH spaces. Default is 6.
-num INTERVAL
Prefix output lines with the corresponding line number from the input, skipping INTERVAL lines between each time a prefix is added.
An interval of 1 will ensure that every line is prefixed.
-numsize exsize
Replace the TeX code used to set the size of the line numbers. The default is footnotesize.
INPUT TYPES
abel ABEL source code
ada Ada source code
asm Assembly code
axiom AXIOM code
B B source code
beta BETA source code
bison Bison source code
c C source code
c++ C++ source code
idl OMG/CORBA IDL source code
java Java source code
lex Lex source code
lisp LISP source code
logla LOGLA source code
matlab MATLAB script
ml ML source code
perl Perl source code
promela
Promela source code
python Python source code
scheme Scheme soruce code
sim SIMULA source code
sql SQL queries
ruby Ruby source code
vhdl VHDL description
This manual page was written for the Debian operating system because the original program does not have a manual page.
EXAMPLES
Say you want to format a Java source file. Just type:
texifyjava < input.java > output.tex
You can also format the output of some program without storing its output in a temporary file. If you want to format the output of a Post-
greSQL database dump, just type:
pg_dump foobar | texifysql > output.tex
AUTHOR
This manual page was written by Morten Hustveit <morten@debian.org>.
January 2003 TEXIFY(1)