nowfound

Work · January 14, 2024

DA

Dsync: a tool to sync source directories/files to a target directory

Hello HN. I worked on this small project recently called dsync. I have a few directories where I keep adding stuff and I need to sync them to an external drive from time to time. In the spirit of "write your own tools", I wrote my own. The tool itself is really simple. It tries to sync source directories or files to a destination directory based on size and modification time, basically copying the source files if they don't match. dsync can use multiple threads (specified via an option). It uses a bounded multi-producer multi-consumer queue (C implementation of Dmitry Vyukov's bounded MPMC…

What it does

In the maker’s words, at launch

Hello HN. I worked on this small project recently called dsync. I have a few directories where I keep adding stuff and I need to sync them to an external drive from time to time. In the spirit of "write your own tools", I wrote my own. The tool itself is really simple. It tries to sync source directories or files to a destination directory based on size and modification time, basically copying the source files if they don't match. dsync can use multiple threads (specified via an option). It uses a bounded multi-producer multi-consumer queue (C implementation of Dmitry Vyukov's bounded MPMC queue using gcc atomic builtins). The main thread traverses the given sources and adds the files to the queue. Other threads dequeue entries from the queue and do the sync/copy work concurrently. dsync performs well with multiple threads compared to GNU cp when copying directories with a lot of small files such as the linux kernel repository. More details are in the README.

Does the same job

all alternatives →
  • Open source Directory Sync by BoxyHQ2022 · ▲153

    Real-time sync with your customers' user directories

  • SS
    Sink – Sync any directory with any device on your local network2025 · github.com · ▲151

    i made sink. it's a simple little tool that continuously syncs folders between 2 devices. no cloud, no email, flash drives, no bs. it just uses your local wifi. run it on your machines, tell them to trust each other, and you're set. and if you manage to edit the same file at once, it handles the conflict and saves both copies. for anyone who just wants to get files from point a to b without the headache. hope it makes your life a bit less annoying. github: https://github.com/sirbread/sink binary:…

  • SF
    S3HyperSync – Faster S3 sync tool – iterating with up to 100k files/s2024 · github.com · ▲49

    An alternative S3 sync tool to extremly fast sync s3 buckets. Feedback and contributions are welcome!

  • B2
    Bvckup 2 – Fast File Replicator for Windows2019 · bvckup2.com · ▲154

    This is a long-running project that started as the proverbial need to scratch my own itch and then somehow evolved into a full-time job of the past 6 years. Link: https://bvckup2.com I thought I'd do a Show HN for two reasons. 1. I obviously want to show my baby to those who haven't seen it. Its primary purpose is to do very fast file replication. If you are familiar with "robocopy /mir" - same idea, but on steroids. Lots of them. It can be used for both mirroring and archiving backups, among other things. It is light, very small and it is really quite fast. Half of the…

  • SR
  • AC
    Async – Claude code and Linear and GitHub PRs in one opinionated tool2025 · github.com · ▲107

    Hi, I’m Mikkel and I’m building Async, an open-sourced developer tool that combines AI coding with task management and code review. What Async does: - Automatically researches coding tasks, asks clarifying questions, then executes code changes in the cloud - Breaks work into reviewable subtasks with stack diffs for easier code review - Handles the full workflow from issue to merged PR without leaving the app Demo here: https://youtu.be/98k42b8GF4s?si=Azf3FIWAbpsXxk3_ I’ve been working as a developer for over a decade now. I’ve tried all sorts of AI tools out there including…

More work this month

the category →
  • Let agents source clips from terabytes of your local video

    Work · 18d ago · clipto.com

  • Free local transcription that is 100% Private

    Work · 17d ago · hynote.ai

  • The app store for voice native apps that lives in your notch

    Work · 28d ago · voiceos.com

  • Ask any question, get a video back instantly

    Work · 24d ago · scrimba.com

  • Handle all of the work before, during, and after meetings

    Work · 17d ago · calendly.com

Launched alongside, January 2024

the whole month →