I don't have a SCO system to hand so these are the SCO options for find and cpio from memory.
I would steer clear of using absolute pathnames because it restricts your options. Using relative pathnames is much more flexible.
To archive a complete directory tree:
FTP the archive over to the other system
Ensure that the top of tree location already exists and, if not, create it manually (otherwise you cannot 'cd' to it).
See the man page(s) for what the 'ivudlm' switches do but it will recreate the tree, create any required directories, link files when possible, etc, etc.
Anyway, AFAIR, that's what I would do on a SCO box. Others may suggest a different method. Hope that helps.
Hi,
I am facing a weired problem in my FTP script. I want to transfer multiple files from remote server to local server everyday, using mget * in my script. I also, want to send an email for successful or failed FTP. My script works for file transfer, but it don't send any mail. There is... (2 Replies)
I am using shell script to do secure ftp. I have done key file setup to do password less authentication. Following are the FTP Details:
FTP Client has Sun SSH.
FTP Server has F-Secure.
I am using SCP Command to do secure copy files. When I am doing this, I am getting the foll error
scp:... (2 Replies)
Hi Experts...
Greetings for the day..!
I just want to FTP the files to mainframe system..
my code is not working..and also i need to put the files in a particular directory in a specific naming format...
ftp -i -n ${HOST_NAME} << END_FTP
user ${USER_NAME} ${PASSWORD}
put ${FILE_NAME}... (3 Replies)
Hi,
I want to run a process on server a, pulling files from server b and pushing it to server c.
Can i do that without dropping the files on server a?
Thanks,
Samit (2 Replies)
Hi ,
We are facing a weird problem in our project. we need to send some xml & audio files to a remote FTP server from a Linux box, we are doing this in Perl script using Net::FTP->. Issue here is.. when FTPed the files using Perl scripts, only empty files ( 0 byte) are getting created on the... (2 Replies)
Validating the size of file transferred from ftp server to the local system.
File type: Text file/Flat file
Source System: Windows / Unix Systems
Target System is always: Unix
Mode of Transfer : ASCII
We have generic ftp shell script that transfers the files from different ftp servers. ... (2 Replies)
I am trying to FTP files to a Windows server through my Linux machine. I have setup the file transfer with no problems but am having problem deleting those files from the Linux box. My current non-working solution is below. Any ideas, anyone?? :wall: Please be gentle, I'm fairly new to this... (4 Replies)
Hi,
I'm new to shell script..I have one requriement like -
In one server have more than one files,I want to ftp those files to some otehr server..
Ex : test1.pdf
test2.pdf
Please suggest me how to do (3 Replies)
I need to transfer files from a Windows server to the Unix server and have to run some shell script on it to get the required output.
Is it possible to transfer files from Windows server to unix server through any shell script?
If so can you please help me with the details.
Thanks in... (8 Replies)
Discussion started by: ssk250
8 Replies
LEARN ABOUT HPUX
mt
mt(1) General Commands Manual mt(1)NAME
mt - magnetic tape manipulating program
SYNOPSIS
tapename] command [count]
Obsolescent
tapename] command [count]
DESCRIPTION
is used to give commands to the tape drive. If tapename is not specified, the environment variable is used; if is not defined, the default
drive is used.
winds the tape in the requested direction (forward or backward), stopping after the specified count EOF marks or records are passed. If
count is not specified, one is assumed. Each EOF mark counts as one record. When winding backwards, the tape always stops at the BOT
marker, regardless of the number remaining in count.
accepts the following commands:
Write count EOF marks.
Forward space
count files.
Forward space
count records.
Backward space
count files.
Backward space
count records.
Rewind tape.
Rewind tape and go offline.
Seek to end of data (DDS and QIC drives only).
Write count setmarks (DDS drives only).
Forward space
count setmarks (DDS drives only).
Backward space
count setmarks (DDS drives only).
Print status information about the tape drive.
Reserve tape drive for sole use by the host issuing the
command (stape or estape driver only).
Release tape drive from sole use by the host issuing the
command (stape or estape driver only).
Spacing operations (back or forward space file or record) leave the tape positioned past the object being spaced to in the direction of
motion. That is, backspacing a file leaves the the tape positioned before the file mark, forward spacing a file leaves the tape positioned
after the file mark. This is consistent with all classical usage on tapes.
WARNINGS
Only raw, no-rewind Berkeley-type devices should be specified. This type of device will not reposition the tape upon close. An example of
such a device is or See mt(7) for more details.
It is possible to wind the tape beyond the EOT marker and off the end of the reel.
A reservation may only be cleared with a release by the host that issued the original reserve. In the event that the host that holds the
reservation is no longer available, the command may be used to reclaim the device by issuing a bus device reset. See st(1M) for more
details.
The reserve/release functionality can only be issued to drives using the or driver.
EXAMPLES
Rewind the tape associated with the device file or (if legacy DSF is disabled):
FILES
Raw magnetic tape interface (stape)
Raw magnetic tape interface (estape)
Default tape interface.
If legacy DSF is disabled, the default value is
AUTHOR
was developed by the University of California, Berkeley.
SEE ALSO dd(1), st(1M), intro(7), mt(7).
mt(1)