fedtegreve
Technical User
Hi.
I'm new to the forum and also to unix. Have have a problem, that I hope some of you can help me with.
I have a lot of SCO UNIX PC's that I can reach by telnet. That have some backupfiles in a directory, that I need to know about; filename and the date thay are made.
I know of a command; frcp, that copy a file from my local PC to the remote host.
What I'm asking for is a script that can make this:
A textfile of the direktory with the backup-files:
ls -l /backup > /mydir/'hostname'.bac
Now copy to my own local PC:
frcp host:/mydir/'hostname'.bac /localdir/
Can this be done in one script easily? I would be thanksfull.
Benny
Denmark
I'm new to the forum and also to unix. Have have a problem, that I hope some of you can help me with.
I have a lot of SCO UNIX PC's that I can reach by telnet. That have some backupfiles in a directory, that I need to know about; filename and the date thay are made.
I know of a command; frcp, that copy a file from my local PC to the remote host.
What I'm asking for is a script that can make this:
A textfile of the direktory with the backup-files:
ls -l /backup > /mydir/'hostname'.bac
Now copy to my own local PC:
frcp host:/mydir/'hostname'.bac /localdir/
Can this be done in one script easily? I would be thanksfull.
Benny
Denmark