zsync(1)
π zsync(1) β File Transfer manual, but make it cute π
okay bestie, welcome to the zsync(1) page from the File Transfer section β it's giving partial/differential file download client over HTTP, and it's actually iconic. Let's go. β¨
β¨ NAME β¨
zsync β partial/differential file download client over HTTP. No cap, that's the whole name vibe. π
π«Ά SYNTAX π«Ά
zsync [ -u url ] [ -i inputfile ] [ -o outputfile ] [ { -s | -q } ] [ -k file.zsync ] [ -A hostname=username:password ] { filename | url }
zsync -V
π DESCRIPTION π
So zsync downloads a file over HTTP. It uses a control file to figure out whether any blocks in the file are already known to the downloader, and then it only downloads the new blocks. Efficiency queen. π
You can give either a filename or a URL on the command line β this is the path of the control file for the download. That control file normally has the name of the actual file to download with .zsync appended. (To create this .zsync file you have to have a copy of the target file, so this file should be generated by the person providing the download.) Cute, right? π
zsync downloads to your current directory. It looks for any file in the directory of the same name as the file to download. If it finds one, it assumes that's an earlier or incomplete version of the new file to download, and scans this file for any blocks it can use to build the target file. It also looks for a file of the same name with .part appended, so it will automatically find previously interrupted zsync downloads and reuse the data already downloaded. If you know that the local file to use as input has a different name, you must use -i. Periodt. π
zsync retrieves the rest of the target file over HTTP. Once the download is finished, the old version (if the new file wants the same name) is moved aside β a .zs-old extension is appended. The modification time of the file is set to be the same as the remote source file (if specified in the .zsync). It's giving tidy. π§
π OPTIONS π
-A hostname=username:passwordβ Specifies a username and password to be used with the given hostname.-Acan be used multiple times (with different hostnames), in cases where e.g. the.zsyncfile is on a different server from the download, or there are multiple download servers (there could be different auth details for different servers β and zsync never assumes that your password should be sent to a server other than the one named β otherwise redirects would be dangerous!). π₯-i inputfileβ Specifies (extra) input files.inputfileis scanned to identify blocks in common with the target file and zsync uses any blocks found. Can be used multiple times. π-k file.zsyncβ Indicates that zsync should save the zsync file that it downloads, with the given filename. If that file already exists, then zsync will make a conditional request to the web server, such that it will only download it again if the server's copy is newer. zsync will append.partto the filename for storing it while it is downloading, and will only overwrite the main file once the download is done β and if the download is interrupted, it will resume using the data in the.partfile. π«Ά-o outputfileβ Override the default output file name. Slay. π-qβ Suppress the progress bar, download rate and ETA display. Quiet mode, mysterious. π€«-sβ Deprecated synonym for-q. She's old, she's deprecated, but she's still here. π-u urlβ This specifies the referring URL. If you have a.zsyncfile locally (if you downloaded it separately, withwget, say) and the.zsyncfile contains a relative URL, you need to specify where you got the.zsyncfile from so that zsync knows which server and path to use for the rest of the download. This is analogous to adding a<base href="...">to a downloaded web page to make the links work. π¦-Vβ Prints the version of zsync. Iconic. β¨
π FILES π
No entries are listed in this section in the original β it's just the heading, giving minimalism. π
πΈ ENVIRONMENT VARIABLES πΈ
http_proxyβ Should be the[http://]hostname:portfor your web proxy, if one is required to access the target web server(s). π
β¨ EXAMPLES β¨
Example, bestie:
zsync -i
/var/lib/apt/lists/server.debian.org_debian_dists_etch_main_binary-
i386_Packages http://zsync.moria.org.uk/s/etch/Packages.zsync
π AUTHORS π
Colin Phipps <cph@moria.org.uk> β the icon who wrote this. π«Ά
π₯ SEE ALSO π₯
zsyncmake(1)β go check it out, bestie. π
π that's the zsync(1) manual from Colin Phipps, version 0.6.6 β the original footer has no date, so no invented date, just vibes β periodt. π
π¦ where this page comes from
- arch rolling: zsync 0.6.6-1 Β· LicenseRef-Artistic
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms