Menu

#2 sscp -g fails with wildcards....

open
nobody
5
2006-07-17
2006-07-17
Anonymous
No

If you try:

sscp -f testfarm -g /etc/host* /tmp

The wildcard is pre-processed to /etc/hosts ... on the
local system before the command is run which can cause
it to fail or return the incorrect files.

Discussion

  • Thomas Bläsing

    Thomas Bläsing - 2006-07-28

    Logged In: YES
    user_id=1154045

    Hi,

    I had the same Problem while I was writing my ssh2all
    (also on sf) and the solution is simple to escape the
    wildcards...

    e.g. try: sscp -f testfarm -g /etc/host\* /tmp

     
  • Nobody/Anonymous

    Logged In: NO

    For some reason that doesn't work for me when I'm copying multiple files. You can only get one file at a time. SSCP is great and hopefully new releases will fix this issue.

     

Log in to post a comment.