I need to copy a file from a remote server into the local server retaining the file name, but I do not know the entire file name.
EG. The remote file is NAT123.NSP (but I do not know that)
I try this command but it does not work;
rsh remote cat NAT123* >> NAT123*
because it calls the local file NAT123* (I need the local filename to be NAT123.NSP)
How do I get this unknown file across with the correct file name ?
EG. The remote file is NAT123.NSP (but I do not know that)
I try this command but it does not work;
rsh remote cat NAT123* >> NAT123*
because it calls the local file NAT123* (I need the local filename to be NAT123.NSP)
How do I get this unknown file across with the correct file name ?