[Linux] Compress folders and transfer files from remote to local

Compress folders and transfer files from remote to local

1. Zip the remote folder

command


zip -r Compressed folder name (eg wordpress.zip) Folder name before compression (eg wordpress)

2. Make a remote sftp connection

command


>sftp login name@Hostname (eg [email protected])
>password input
sftp> get -r directory name

This way you'll think the folder has been transferred to your local home directory!

Recommended Posts

[Linux] Compress folders and transfer files from remote to local
[Linux] How to subdivide files and folders
Linux: files and directories
Copy files directly from Amazon EC2 (Amazon linux) to S3
Get files from Linux using paramiko and scp [Python]
Linux (about files and directories)
About LINUX files and processes
Linux script to convert Markdown files from JupyterLab format to Qiita format
Allow Python to select strings in input files from folders
"Chmod" command to set permissions and access permissions for files and folders
Commands and files to check the version of CentOS Linux
Create folders from '01' to '12' with python
Manipulate files and folders in Python
Read and use Python files from Python
[Windows] Transfer event logs to Linux
Let's do Linux System Programming with Visual Studio Code and Azure! (From helloworld to nginx development and remote debugging)
From Python to using MeCab (and CaboCha)
[Linux] Flow from power-on to PC startup
Easy conversion from UTC to local time
[linux] Split files to the specified size
Porting and modifying doublet-solver from python2 to python3.
Connect to GNU / Linux with Remote Desktop
How to operate Linux from the console
Compress python data and write to sqlite
Introducing Docker Engine to Linux From Scratch
How to find large files on Linux
[Amazon Linux] Switching from Python 2 series to Python 3 series
Introduce VS Code and Remote Development to an offline environment to make linux development comfortable