I have files stored in different directories, hence I have put directory names into variables:
Here is my scriptname that is called like so from the command line:
I have getops that when I call the script with the -b option, it calls a function batchConverter which is the most important part here
Here is my function which pulls all files that have filename "_bsc_" pattern and then removes it's file extension called .csv and then appends a new file extension called .dsx
I want the filename without the path. The I copy these new files to another directory called $dsxdir
Forgive the daft requests - I'm still a learner :D
I need a script so that I can test another script (I'm confused already) The script I am looking for should generate a new file in the same directory (called newfile1 or what ever) and also generate text within the new file (Hello world? What... (1 Reply)
Hi,
I was wondering if there was a way to append something to filenames based on a wildcard. For example, if I have the following files in a directory:
blah1
blah2
blah3
blah4
blah5
I want to rename these all to:
blah1.txt
blah2.txt
blah3.txt
blah4.txt
blah5.txt
Is there a... (4 Replies)
Hi,
I'm trying to write a script that reads filenames from a file and use these filenames in a loop. The filenames are all on one line and the problem is that these filenames have wildcards like * and braces like in them.
Right now what I'm doing is something like this:
echo "reading from... (0 Replies)
Is there a way to link a script in my ~/bin with file extension priority for tab completion?
for example, if the script I have could only look at .tex files, and I have 6 files in the same directory with the same name, but different extensions:
index.tex index.dvi index.toc ... etc...
it... (0 Replies)
Hi,
I have to write a program to compute the checksums of files
./script.sh
I wrote the program using bash and it took me forever since I am a beginner but it works very well.
I'm getting so close to the deadline and I realised today that actually I have to use normal Bourne shell... (3 Replies)
I'm working on a personal project, a multiplication quiz script for my kids. In it, the user's performance will be recorded and written to a file. After they've played it a little while, it will start to focus more on the ones that give them the most trouble-- that take a long time to answer or... (4 Replies)
Hello,
I have a file name in the below format and have to append the date as _$currdate.
kchik_UK_lo.txt_$currdate.
The above should be the format and I dont want to put entire filename as above in the code, but it should give me the output as the above filename.Can anyone please help... (7 Replies)
Hi,
I wanted to load data from HDFS to HIVE by writing bash script.
Description:
I have written a bash script to validate the data and loaded validated data from local file system to HDFS. Now in the same bash script i wanted to load the data from HDFS to HIVE. How can i do it ? Also how tyhe... (2 Replies)
Hi,
I have a script file where i'm validatig the input file and storing the validated records on HDFS.
I wanted to load data from HDFS to HBASE using pig script. So for that i have created a HBASE table and written pig script to load data from HDFS to HBASE which is working fine. Now i wanted... (0 Replies)
Hello.. and thanks in advance for any help anyone can offer me to figure this out
I'm reading about the about the Bash shell... and I've read from many sources that to make Bash POSIX compliant it needs "extensions"... Which sounds to me like something I should be able to load or unload into... (1 Reply)
Discussion started by: bodisha
1 Replies
LEARN ABOUT HPUX
dtinfoaction
dtinfoaction(file formats) dtinfoaction(file formats)
NAME
dtinfoaction -- CDE information management actions
SYNOPSIS
DtLoadInfoLib filename
Open filename
DtShowInfoAtLoc
DtPrintInfoAtLoc
DESCRIPTION
The CDE Information Management Services support the following information management actions:
DtLoadInfoLib filename
Load the information library specified by filename, which can be either a relative or absolute file path. If filename is not
specified, dtinfo displays the default information library(s).
Open filename
Load the information library specified by filename. Remaps to DtLoadInfoLib filename.
DtShowInfoAtLoc filename section
Display the section or topic specified by section contained within the infolib specified by filename. filename can be either a
relative or absolute file path. section specifies the information library section in generalized locator format. dtinfo is
started if it is not already running. This corresponds to invoking dtinfo with the -sect option from the command line.
DtPrintInfoAtLoc
Print one or more infolib sections from the desktop. This action is invoked whenever a section or sections is dragged from the
book list window in dtinfo and dropped on the printer icon on the front panel.
These actions can be invoked from an application using the DtActionInvoke(3) function or invoked from a command line using the dtaction(1)
utility.
SEE ALSO dtinfo(1), DtActionInvoke(3), DtInfo_LoadInfoLib(4), DtInfo_PrintInfoAtLoc(4), DtInfo_ShowInfoAtLoc 4
dtinfoaction(file formats)