Skip to content

AlphaTechnolog/zsync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ZSync

ZSync is a little tool made in zig, which given two folders paths merges the content recursively of the source to the dest, so given the next command:

zsync ./{a,b}

zsync will merge the content of a into b by checking recursively the struct of the a folder.

Installation

git clone https://github.com/alphatechnolog/zsync.git
cd zsync
zig build -Doptimize=ReleaseFast
install -Dvm755 ./zig-out/bin/zsync /bin

Usage

Perform:

zsync

Todo

  • Better error handling?
  • Better logging
  • Faster arguments parsing
  • Speed up the merging algorithm