11-17-2014
What zaxxon's given you will do exactly that except that it will copy rather than move, /universe_log/CIHPRD is reserved as it was, leaving you to go in /universe_log/CIHPRD and erase all the unwanted
10 More Discussions You Might Find Interesting
1. Shell Programming and Scripting
Hi all,
I have a file with several columns of data, eg:
A B C D
1 2 5 1
2 2 2 2
8 4 4 4
4 2 3 4
10 9 4 4
9 7 1 2
I need to get the values from, say, column B and place them into a string separated by a semicolon, eg:
2;2;4;2;9;7
Does... (4 Replies)
Discussion started by: danhodges99
4 Replies
2. Shell Programming and Scripting
Hi:
I am very new in UNIX environment.
I need big help.
How I can move data files from a server to UNIX folder by script.
I don't want to use ws-ftp.
The script should check the file on server, if any file found, move it to UNIX folder.
I will be very happy, if some one helps me out.... (1 Reply)
Discussion started by: shah2
1 Replies
3. UNIX for Dummies Questions & Answers
Hi,
i willbe very much grateful to u if u help me out..
if i simply connect pbx machine to printer by serial port RS232 then we find this view:
But i want to capture this data into database automatically when the pbx is running.The table in database will contain similar to this view inthe... (1 Reply)
Discussion started by: boss
1 Replies
4. Shell Programming and Scripting
My input file:
data_5 Ali 422 2.00E-45 102/253 140/253 24
data_3 Abu 202 60.00E-45 12/23 140/23 28
data_1 Ahmad 256 7.00E-45 120/235 140/235 22
data_4 Aman 365 8.00E-45 15/65 140/65 20
data_10 Jones 869 9.00E-45 65/253 140/253 18... (12 Replies)
Discussion started by: patrick87
12 Replies
5. AIX
Hi All,
I have a requirement to move a large amount of data *approx 160 GB* from a windows formatted SAN to AIX.
The data is made up of several hundred thousand small files.
Does anyone have a recommendation for the best tool or best procedure for this?
Regards,
Neil (2 Replies)
Discussion started by: stewartna77
2 Replies
6. Shell Programming and Scripting
Hi All,
I was wondering how I can convert each line in an input file where fields are separated by variable width spaces into a CSV file. Below is the scenario what I am looking for.
My Input data in inputfile.txt
19 15657 15685 Sr2dReader 107.88 105.51... (4 Replies)
Discussion started by: vharsha
4 Replies
7. Shell Programming and Scripting
Hello everyone!
i hope u can help me...
i need a script that is able to do:
When a user gets deleted in the ldap DB, the mail folder remains.
How can i move to another location and delete it after a month?
:wall: (2 Replies)
Discussion started by: newbreaker12
2 Replies
8. Shell Programming and Scripting
Hi,
I have a data file with :
01/28/2012,1,1,98995
01/28/2012,1,2,7195
01/29/2012,1,1,98995
01/29/2012,1,2,7195
01/30/2012,1,1,98896
01/30/2012,1,2,7083
01/31/2012,1,1,98896
01/31/2012,1,2,7083
02/01/2012,1,1,98896
02/01/2012,1,2,7083
02/02/2012,1,1,98899
02/02/2012,1,2,7083
I... (1 Reply)
Discussion started by: himanish
1 Replies
9. UNIX for Advanced & Expert Users
I need to be able to move data around a disk that has mounted partitions. I am not touching the data on the mounted partition, the MBR or any other disk metadata, only the freespace and unmounted partitions. At the moment I am using libparted but it causes data corruption sometimes although there... (1 Reply)
Discussion started by: vstrom
1 Replies
10. Shell Programming and Scripting
Hi folks
I have a script I wrote that basically parses a bunch of config and xml files works out were to add in the new content then spits out the data into a new file.
It all works - apart from the xml and config file format in the new file
with XML files the original XML (that ends up in... (2 Replies)
Discussion started by: dfinch
2 Replies
curs_clear(3) Library Functions Manual curs_clear(3)
NAME
curs_clear, clear, wclear, erase, werase, clrtobot, wclrtobot, clrtoeol, wclrtoeol - Clear all or part of a Curses window
SYNOPSIS
#include <curses.h>
int clear(
void ); int wclear(
WINDOW *win ); int erase(
void ); int werase(
WINDOW *win ); int clrtobot(
void ); int wclrtobot(
WINDOW *win ); int clrtoeol(
void ); int wclrtoeol(
WINDOW *win );
LIBRARY
Curses Library (libcurses)
STANDARDS
Interfaces documented on this reference page conform to industry standards as follows:
clear, wclear, erase, werase, clrtobot, wclrtobot, clrtoeol, wclrtoeol: XCURSES4.2
Refer to the standards(5) reference page for more information about industry standards and associated tags.
DESCRIPTION
The erase and werase routines copy blanks to every position in the window.
The clear and wclear routines are similar to erase and werase but also call clearok. The result is that the screen is cleared completely on
the next call to wrefresh for that window and repainted from scratch.
The clrtobot and wclrtobot routines erase all lines below the cursor in the window. In addition, these routines erase the current line to
the right of the cursor, including the character on which the cursor is positioned.
The clrtoeol and wclrtoeol routines erase the current line to the right of the cursor, including the character on which the cursor is posi-
tioned.
NOTES
The header file <curses.h> automatically includes the header file <stdio.h>.
Note that erase, werase, clear, wclear, clrtobot, and clrtoeol may be macros.
RETURN VALUES
Upon successful completion, these routines return OK; otherwise, they return ERR.
SEE ALSO
Functions: curses(3), curs_outopts(3), curs_refresh(3)
Others: standards(5)
curs_clear(3)