So what we should do is take those two conversion scripts that work for HYR and extend them to work on your 4 various types.
Using a for loop should get us there:
Here we are also appending stderr to your OGIT logfile. If you are after a log of what was done (not just the failed stuff) consider adding the -v (verbose) option to the cp and mv commands above.
Hi all
I need to copy the entire contents of one file into an existing file at a specific location. I know the exact line number where I need to put it. It appears I would use either sed or awk to do this, but I have been unsuccessful so far:
File A
line 1
line 2
line 3
line 4
... (6 Replies)
Create a script that copies files from one specified directory to another specified directory, in the order they were created in the original directory between specified times. Copy the files at a specified interval. (2 Replies)
:EDIT:
I think my post name should have been labeled: how to copy files and record original file location. not "retain".
Hello, this is my first post! I searched the forums a lot before posting, but was unable to answer my question.
Here's my problem:
There are several hundred text files... (4 Replies)
I'm try to change a the prohibit to aix for the lines starting with ssh and emagent and rest should be the same. Can anyone please suggest me how to do that using a shell script or sed
passwd account required /usr/lib/security/pam_prohibit
passwd session required ... (13 Replies)
Hi friends,
I have one XML file having below structure :-
INput XML file :-
<?xml version="1.0" encoding="UTF-8"?>
<START>
<A=value1>
<attr name1="a1">
</A>
<B=value2>
<attr name2="b1">
<attr name3="c1">
</B>
</START>
output xml file should be
=== (3 Replies)
I have a big file having 100 K lines.
I have to read each line and see at 356 character position whethere there is a word "W" in it. If it is their then don't delete the line otherwise delete it.
There are two lines as one Header and one trailer which should remain same.
Can somebody... (5 Replies)
Hi Gurus,
I am a newbie to shell scripting and I am facing a problem right now.I have to automate the copy of files based on a priority.The scenario is as below:
1) There will be files from Mon-Fri with Mon file being named as abc_def_01_YYYYMMDD and Tue file being abc_def_02_YYYYMMDD and so... (4 Replies)
Hi All,
I want to fetch the files based on .done file and display the .csv files and Wil take .csv files for processing.
1.I need to display the .done files from the directory.
2.next i need to search for the .Csv files based on .done file.then move .csv files for the one directory
... (2 Replies)
Dear All,
I need to transfer all files present in one location to another but those files should be of specific extension like.
Find and copy all files of extension .xls, .pdf, .txt from location usr/tmp to location /per/Treat (6 Replies)
I wish to delete all files that starts with "body<any number of digits>.xml" except body65.xml on Linux 7 bash shell
So, from the below files
body64.xml
body.sh
body65.xml
body655.xml
body565.xml
body66.xml
hello65.xml
My command should delete all files except the below.
body.sh... (2 Replies)
Discussion started by: mohtashims
2 Replies
LEARN ABOUT DEBIAN
halibut
halibut(1) Simon Tatham halibut(1)NAME
halibut - multi-format documentation formatting tool
SYNOPSIS
halibut [options] file1.but [file2.but ...]
DESCRIPTION
halibut reads the given set of input files, assembles them into a document, and outputs that document in one or more formats.
The available command-line options can configure what formats Halibut should output in, and can also configure other things about the way
Halibut works.
OPTIONS
The command-line options supported by halibut are:
--text[=filename]
Makes Halibut generate an output file in plain text format. If the optional filename parameter is supplied, the output text file
will be given that name. Otherwise, the name of the output text file will be as specified in the input files, or output.txt if none
is specified at all.
--html[=filename]
Makes Halibut generate one or more output files in HTML format. If the optional filename parameter is supplied, there will be pre-
cisely one HTML output file with that name, containing the whole document. Otherwise, there may be one or more than one HTML file
produced as output; this, and the file names, will be as specified in the input files, or given a set of default names starting with
Contents.html if none is specified at all.
--winhelp[=filename]
Makes Halibut generate an output file in Windows Help format. If the optional filename parameter is supplied, the output help file
will be given that name. Otherwise, the name of the output help file will be as specified in the input files, or output.hlp if none
is specified at all.
The output help file must have a name ending in .hlp; if it does not, .hlp will be added. A secondary contents file will be created
alongside the main help file, with the same name except that it will end in .cnt (for example output.cnt, if the main file is out-
put.hlp).
--man[=filename]
Makes Halibut generate an output file in Unix man page format. If the optional filename parameter is supplied, the output man page
will be given that name. Otherwise, the name of the output man page will be as specified in the input files, or output.1 if none is
specified at all.
--info[=filename]
Makes Halibut generate an info file. If the optional filename parameter is supplied, the output info file will be given that name.
Otherwise, the name of the output info file will be as specified in the input files, or output.info if none is specified at all.
By default, unless configured otherwise using the cfg{info-max-file-size}{0} directive, the info output will be split into multiple
files. The main file will have the name you specify; the subsidiary files will have suffixes -1, -2 etc.
--pdf[=filename]
Makes Halibut generate an output file in PDF format. If the optional filename parameter is supplied, the PDF output file will be
given that name. Otherwise, the name of the output PDF file will be as specified in the input files, or output.pdf if none is speci-
fied at all.
--ps[=filename]
Makes Halibut generate an output file in PostScript format. If the optional filename parameter is supplied, the PostScript output
file will be given that name. Otherwise, the name of the output PostScript file will be as specified in the input files, or out-
put.ps if none is specified at all.
-Cword:word[:word...]
Adds a configuration directive to the input processed by Halibut. Using this directive is exactly equivalent to appending an extra
input file to the command line which contains the directive cfg{word}{word}{word...}.
--input-charset=charset
Changes the assumed character set for input files from the default of ASCII.
--list-charsets
Makes Halibut list character sets known to it.
--list-fonts
Makes Halibut list fonts known to it, either intrinsically or by being passed as input files.
--precise
Makes Halibut report the column number as well as the line number when it encounters an error in an input file.
--help Makes Halibut display a brief summary of its command-line options.
--version
Makes Halibut report its version number.
--licence
Makes Halibut display its licence (MIT).
MORE INFORMATION
For more information on Halibut, including full details of the input file format, look in the full manual. If this is not installed locally
on your system, you can also find it at the Halibut web site:
http://www.chiark.greenend.org.uk/~sgtatham/halibut/
BUGS
This man page isn't terribly complete.
Halibut 2004-04-08 halibut(1)