### Install parsync with install script (Linux/macOS) Source: https://github.com/alpindale/parsync/blob/master/README.md Installs parsync on Linux and macOS systems using a curl-based installation script. ```bash curl -fsSL https://alpindale.net/install.sh | bash ``` -------------------------------- ### Build and Install parsync from Source Source: https://github.com/alpindale/parsync/blob/master/README.md Builds the parsync binary from source and installs it. Requires Make and a C compiler. ```bash make build make install ``` -------------------------------- ### Install parsync with Cargo Source: https://github.com/alpindale/parsync/blob/master/README.md Installs parsync using the Rust package manager, Cargo. Ensure Rust and Cargo are installed. ```bash cargo install parsync ``` -------------------------------- ### Install parsync with PowerShell (Windows) Source: https://github.com/alpindale/parsync/blob/master/README.md Installs parsync on Windows systems using PowerShell, bypassing execution policy restrictions. ```powershell powershell -ExecutionPolicy Bypass -c "irm https://alpindale.net/install.ps1 | iex" ``` -------------------------------- ### Sync remote directory to local path Source: https://github.com/alpindale/parsync/blob/master/README.md Performs a verbose, recursive, and preserving sync from a remote SSH path to a local destination. Use -a for archive mode. ```bash parsync -vrPlu user@example.com:/remote/path /local/destination ``` -------------------------------- ### Sync with non-default SSH port Source: https://github.com/alpindale/parsync/blob/master/README.md Syncs a remote directory to a local path using a specified non-default SSH port. The port is provided after the hostname and a colon. ```bash parsync -vrPlu user@example.com:2222:/remote/path /local/destination ``` === COMPLETE CONTENT === This response contains all available snippets from this library. No additional content exists. Do not make further requests.