Re: Proposed enhancement to scp
From: Bill Unruh (unruh_at_string.physics.ubc.ca)
Date: 02/25/04
- Next message: Gorm Sr.: "AllowGroups on SSH.COM Tectia 4.04 / W2K ignored"
- Previous message: Bill Keegan: "Re: key or password based on IP"
- In reply to: Steve Turner: "Proposed enhancement to scp"
- Next in thread: Steve Turner: "Re: Proposed enhancement to scp"
- Reply: Steve Turner: "Re: Proposed enhancement to scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Date: Wed, 25 Feb 2004 18:46:22 +0000 (UTC)
Steve Turner <bbqboyee@H2OlooWoodworks.com> writes:
]How does one go about proposing an enhancement to a component of
]OpenSSH? I would like to see an option added to scp that would cause
]the creation of any non-existent directories leading up to the target
]file. For example if I run the following command:
] scp -p file.dat remote:some/new/dir/file.dat
]and any part of the "some/new/dir/" path does not exist, an error is
]returned. I would like a new flag, say "-m" that would cause scp to
]automatically create the missing directories without requiring a
]separate "ssh remote mkdir -p some/new/dir/" invocation. Does that
]sound palatable? In my circumstances I'd rather not resort to using
]some other tool (like rsync). Thanks.
Soon you will want a whole operating system under scp.
ssh remote mkdir -p some/new/dir
scp -p file.dat remote:some/new/dir/file.dat
will already do what you want.
Why overburden scp with making directories as well, and introduce
another place for bugs to creap in. KISS is a Unix motto, and it should
remain that.
- Next message: Gorm Sr.: "AllowGroups on SSH.COM Tectia 4.04 / W2K ignored"
- Previous message: Bill Keegan: "Re: key or password based on IP"
- In reply to: Steve Turner: "Proposed enhancement to scp"
- Next in thread: Steve Turner: "Re: Proposed enhancement to scp"
- Reply: Steve Turner: "Re: Proposed enhancement to scp"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Relevant Pages
|
|