1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

SCP Escape path

Discussion in 'Linux' started by Gabriel9999, Apr 22, 2019.

Tags:
  1. Gabriel9999

    Gabriel9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    18
    Likes Received:
    1
    Trophy Points:
    3
    I want to escaspe spaces while using scp command destination how can I specify the escape sequences?
     
  2. samueltarcin9999

    samueltarcin9999 New Member

    Joined:
    Mar 12, 2019
    Messages:
    16
    Likes Received:
    10
    Trophy Points:
    3
    Hello Gabriel9999
    You can use thre backslash or \\\ while specifying the path. scp my.cfg
    root@localhost:/home/samuel/test\\\ 2/
    referance : poftut.com/linux-scp-command-usage-with-examples/
     
    Gabriel9999 likes this.

Share This Page