hi suhaimi,
would it help to take a directory listing of the remote system into a temporary file and read that to decide which files to pull over?
alternatively you could of course, use remsh with awk or cat and send the output to pg on the local machine, then save it to a local file i.e.
remsh <remote_servername> /usr/sbin/cat <remote_filename> | pg
s /var/tmp/<local_filename>
or redirect the output to another local file.
you may have already solved it so i won't make any more suggestions unless you've more queries.
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.