EADST

Linux Transfer File between Remote and Local

Example 1: Copy a file from a remote server location to a local PC or server directory

$scp root@10.1.2.123:/opt/soft/test.zip /opt/soft/
Note: Download the test.zip file from the /opt/soft/ directory on 10.1.2.123 to the /opt/soft/ directory

Example 2: Remote to local copy

$scp -r root@10.1.2.123:/opt/soft/test /opt/soft/
Note: Download the test directory from /opt/soft/ on 10.1.2.123 to the local /opt/soft/ directory.

Example 3: Upload a local file to a specified directory on a remote machine

$scp /opt/soft/test.zip root@10.1.2.123:/opt/soft/scptest
Copy the test.zip file in the /opt/soft/ directory on the local computer to the /opt/soft/scptest directory on the remote machine 10.1.2.123

Example 4: Upload a local directory to a specified directory on a remote machine

$scp -r /opt/soft/test root@10.1.2.123:/opt/soft/scptest
Note: Upload the local directory /opt/soft/test to the directory /opt/soft/scptest on the remote machine 10.1.2.123

相关标签
About Me
XD
Goals determine what you are going to be.
Category
标签云
NameSilo 搞笑 LLAMA Math Github llama.cpp WebCrawler WAN FlashAttention Algorithm Freesound Attention Diagram Docker Video SVR RGB Hotel FP16 Heatmap C++ Disk Llama hf BF16 第一性原理 飞书 Dataset git InvalidArgumentError Distillation 递归学习法 Excel Baidu torchinfo QWEN VPN Firewall 多线程 Crawler Use Data Hilton GIT Qwen2.5 Review ONNX 证件照 CLAP logger Search Permission GGML Claude 多进程 Google Bin Website 关于博主 VGG-16 tar OCR TensorRT API Transformers printf Color Pillow YOLO Knowledge v2ray 净利润 Linux XGBoost Interview Password Bitcoin VSCode AI JSON mmap Mixtral HaggingFace Miniforge Ptyhon scipy FP64 GPTQ 顶会 Food Proxy Jetson PIP Plotly Magnet FP32 强化学习 TSV uwsgi UNIX Paddle GoogLeNet XML SQLite Nginx DeepSeek RAR Numpy Michelin Agent CAM CC 云服务器 EXCEL v0.dev uWSGI git-lfs TTS 版权 公式 音频 继承 News BTC Bipartite Animate CSV Translation MD5 Conda Quantize Vim Plate Quantization LeetCode 财报 阿里云 PDB LaTeX Land PDF SPIE Anaconda OpenCV CUDA FP8 Breakpoint Windows CTC Tiktoken COCO Safetensors Base64 PyTorch Zip Pandas TensorFlow Qwen2 Random Paper tqdm Pytorch 签证 Sklearn 域名 图形思考法 Bert Augmentation Streamlit Card LoRA IndexTTS2 SAM GPT4 CV Statistics Gemma UI HuggingFace Pickle Markdown Tracking Input SQL Python Vmess OpenAI Django Template transformers Qwen NLP Logo Jupyter DeepStream Clash ChatGPT Git Hungarian Image2Text diffusers Shortcut CEIR Cloudreve 报税 NLTK BeautifulSoup ResNet-50 腾讯云 Web FastAPI Datetime PyCharm Ubuntu LLM Tensor ModelScope 算法题 Domain
站点统计

本站现有博文321篇,共被浏览770736

本站已经建立2457天!

热门文章
文章归档
回到顶部