I got this script:
print -n "Enter file name: "
read name
....
.....
.....
etc
but at the prmpt, when I press enter (without typin a word), comes up with sum error message, is there away of getting it not to print that message?? (8 Replies)
I am trying to figure out how to copy a file that changes daily to a new directory with a different name each day. Example : webfile created today copy webfile to /hold/webfile.1
tommorrow copy webfile /hold/webfile.2
Is there a way to do this? I can't seem to figure this out.
This needs to... (2 Replies)
Hi Frineds,
Through my DTS process I am generating one file at one directory like,
/sqlsrvr_demo/dts/put/transaction_fact.csv
now I want to copy this files(only when the files size is greater than 0 kb) to some other directory like
/sqlsrvr_demo/dts/get/transaction_fact.csv
Can... (2 Replies)
Hi Gang, I am an old unix user and just recently returned in the flavor of a Mac. I have tons of pictures in the .orf format and would like to write a script to:
Search the Hard drives for that file type
Then, depending on date, copy it to a specific folder
If there is an exact... (2 Replies)
Hi All,
My first post on the Forums! I've just whipped up a quick script to slightly automate a log file retrieval process for work and to be completely honest my BASH scirpting knownledge is extremely limited as is my understanding of a lot of linux commands.
Basically the scripts purpose... (3 Replies)
Hello,
I am currently learning UNIX scripting and have written a simple copy program.
However, upon execution, it returns an error despite debugging correctly.
Can anyone assist in explaining this?
Attached screenshots illustrating a test execution.
Many thanks. (13 Replies)
Hi Experts
Hi I'm trying run the below code, unfortunately it throwing error.
Error Message: tail:cannot open ‘ H:\Test_Folder\' No such file or directory
tail: invalid option -3
cp ` ls -tr *REPORT*.txt |tail -3` H:\Test_Folder\
to give you more insight of my requirement:
I am trying... (3 Replies)
Hello, I am still pretty new at writing shell scripts and may have bitten off more than I can chew. I am trying to write a script that figures out if a file exists (a known name) in directory a, then copy it to my selected destination, otherwise, look in directory b and check there. If it is in... (14 Replies)
Hello All,
This is my first post to unix.com.
I have requirement to copy multiple *.dmp files from one server to other server.
I have that other server NFS filesystem mapped to source server.
Dump files are so huge almost 20TB. There are around 15-20 files each of 1.1TB.
I want to copy these... (6 Replies)
I'm trying to copy script output and use it in this same script as a variable, and call the variable when script is compiled.
The script is below.
#!/bin/bash
output=$(script)
while read line; do
if ];
then
grep "$line" logfile.txt
# Create text file
echo "From: IT ... (4 Replies)
Discussion started by: SysAdminRialto
4 Replies
LEARN ABOUT ULTRIX
monodocs2html
monodocs2html(1) General Commands Manual monodocs2html(1)NAME
monodocs2html - Translate Monodoc XML to HTML
SYNOPSIS
monodocs2html -source:SOURCE_DIR -dest:DEST_DIR [OPTIONS]*
DESCRIPTION
monodocs2html has been obsoleted by mdoc(1). See the mdoc-export-html(1) man page.
monodocs2html is a program that creates HTML documentation from the Monodoc documentation XML files.
OPTIONS
-dest:DEST_DIR
Write the HTML files into the directory DEST_DIR .
-dumptemplate
Dump the default page template to standard output so that you can use it as a base for a new template for use with the -template
option.
-ext:FILE_EXTENSION
FILE_EXTENSION is the file extension for generated files.
This defaults to html .
-?, -help
Show program argument information.
-onlytype:TYPE
Only generate HTML for the type TYPE .
-source:SOURCE_DIR
SOURCE_DIR is the base directory containing the Monodoc XML documentation.
This directory should contain an index.xml file, the namespace-name.xml files (one for each namespace), and namespace-name directo-
ries (one for each namespace), which will contain the type.xml files holding the monodoc documentation.
-template:TEMPLATE
Generate HTML using the page template TEMPLATE .
-V, -version
Display version and licensing information.
TEMPLATE FORMAT
The template file is an XSLT which needs to process the following input XML document:
<Page>
<CollectionTitle>Collection Title</CollectionTitle>
<PageTitle>Page Title</PageTitle>
<Summary>Page Summary</Summary>
<Signature>Type Declaration</Signature>
<Remarks>Type Remarks</Remarks>
<Members>Type Members</Members>
<Copyright>Documentation Copyright</Copyright>
</Page>
The generated HTML also makes use of the following CSS classes, which should be defined so that output is nicely formatted:
.CollectionTitle
.PageTitle
.Summary
.Signature
.Remarks
.Members
.Copyright
.Section
.SectionBox
.NamespaceName
.NamespaceSummary
.MemberName
.MemberSignature
.MemberBox
.Subsection
.SubsectionBox
.SignatureTable
.EnumerationsTable
.CodeExampleTable
.MembersListing
.TypesListing
.InnerSignatureTable
.TypePermissionsTable
HTML LINKS
All members within the HTML file have a id attribute to permit linking to a specific member. The value of the id attribute is the String
ID of the specified member. See the STRING ID FORMAT section of the monodocer man page for more information.
MAILING LISTS
Visit http://lists.ximian.com/mailman/listinfo/mono-docs-list for details.
WEB SITE
Visit http://www.mono-project.com for details
monodocs2html(1)