Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
このコマンドを使用して、名前が「file」で始まるすべてのファイルをサーバーからコピーします。scp -vp me @ server:/ location / files * ./
しかし、「一致なし」エラーが発生しました。おそらくコマンドの''に関して。sshの''を保護して、これがファイルのリストを参照し、ファイル名として取得しないことを理解するにはどうすればよいですか。
THX8月
シェル自体が拡張してい*ます。これを引用するか、バックスラッシュを使用してシェルが解釈しないようにし、代わりに直接scp:に渡すことで、これを回避できます。
*
scp
scp -vp me@server:/location/files\*
ファイルをファイルで開始したい場合は、
scp me@server:/location/file* .
いいえ
ファイル*