The Essential rsync Command Guide for Linux

rsync is one of the most useful tools in a sysadmin’s kit. It copies and synchronizes files and directories locally or over SSH, and only transfers the parts of files that have changed – making it far more efficient than a plain cp or scp for repeated transfers. These are the commands you’ll reach for most often. Common Flags The -avP combination is a solid default for most operations: -a (archive) – preserves permissions, ownership, symlinks, and timestamps -v (verbose) – shows what’s being transferred in real time -P (progress + partial) – displays a progress bar and resumes interrupted transfers 1. Copy a Single File rsync -avP /path/to/local/file.zip user@remote_server:/path/to/remote/directory/ 2. Copy a Directory The trailing slash matters here: ...

September 20, 2025 · 2 min · 279 words · root

OpenVZ (Virtuozzo) vzctl Commands: Quick Reference

If you manage servers that use OpenVZ (Virtuozzo), chances are you’ll spend a lot of time working with vzctl to start, stop, and maintain containers (CTs). While modern virtualization has largely moved on to KVM, Docker, and LXC, plenty of production systems still rely on OpenVZ — especially for legacy applications. This is a quick reference of essential vzctl commands for day-to-day container administration. List All Containers vzlist -a Displays all containers, including stopped ones. ...

February 3, 2014 · 2 min · 275 words · root