I need help in forming a script to copy files from one location which has a sub directory structure to another location with similar sub directory structure,
say location 1,
/home/rick/tmp_files/1-12/00-25/
here 1-12 are the number of sub directories under tmp_files and 00-25 are sub... (1 Reply)
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)
Hi,
I am logging to a linux server through a user "user1" in /home directory.
There is a script in a directory in 'root' for which all permissions are available including the directory. This script when executed creates a file in the directory.
When the script is added to crontab, on... (1 Reply)
I have file file1.txt in location 'loc1'. Now i want a copy of this file in location 'loc2' with a new file called test.txt.
Please help me how to do this in shell script. (1 Reply)
Hi
This is my third past and very impressed with previous post replies
Hoping the same for below query
How to find a existing file location and directory location in solaris box (1 Reply)
A) I would like to achive following actions using shell script. can someone help me with writing the shell script
1) Go to some dir ( say /xyz/logs ) and then perform find operation in this dir and list of subdir using
find . -name "*" -print | xargs grep -li 1367A49001CP0162 >... (1 Reply)
I want to search a small string in a large string and find the locations of the string. For this I used grep "string" -ob <file name where the large string is stored>. Now this gives me the locations of that string. Now how do I store these locations in a text file.
Please use CODE tags as... (7 Replies)
Discussion started by: ANKIT ROY
7 Replies
LEARN ABOUT SUSE
recordio
recordio(1) General Commands Manual recordio(1)NAME
recordio - record the input and output of a program
SYNTAX
recordio program [ arg ... ]
DESCRIPTION
recordio runs program with the given arguments. It prints lines to stderr showing the input and output of program.
At the beginning of each line on stderr, recordio inserts the program process ID, along with < for input or > for output. At the end of
each line it inserts a space, a plus sign, or [EOF]; a space indicates that there was a newline in the input or output, and [EOF] indicates
the end of input or output.
recordio prints every packet of input and output immediately. It does not attempt to combine packets into coherent stderr lines. For
example,
recordio sh -c 'cat /dev/fd/8 2>&1' > /dev/null
could produce
5135 > cat: /dev/fd/8: Bad file descriptor
5135 > [EOF]
or
5135 > cat: +
5135 > /dev/fd/8+
5135 > : +
5135 > Bad file descriptor
5135 > [EOF]
recordio uses several lines for long packets to guarantee that each line is printed atomically to stderr.
recordio runs as a child of program. It exits when it sees the end of program's output.
SEE ALSO tcpserver(1)recordio(1)