fd VS watchexec

Compare fd vs watchexec and see what are their differences.

watchexec

Executes commands in response to file modifications —— Maintenance status: on hold. I have no time for OSS currently; back late 2024. (by watchexec)
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
fd watchexec
184 21
34,309 5,403
- 1.1%
8.7 8.6
about 1 month ago 10 days ago
Rust Rust
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

fd

Posts with mentions or reviews of fd. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2024-11-18.
  • Hyperfine: A command-line benchmarking tool
    10 projects | news.ycombinator.com | 18 Nov 2024
    Perhaps interesting (for some) to note that hyperfine is from the same author as at least a few other "ne{w,xt} generation" command line tools (that could maybe be seen as part of "rewrite it in Rust", but I don't want to paint the author with a brush they disagree with!!): fd (find alternative; https://github.com/sharkdp/fd), bat ("supercharged version of the cat command"; https://github.com/sharkdp/bat), and hexyl (hex viewer; https://github.com/sharkdp/hexyl). (And certainly others I've missed!)

    Pointing this out because I myself appreciate comments that do this.

    For myself, `fd` is the one most incorporated into my own "toolbox" -- used it this morning prior to seeing this thread on hyperfine! So, thanks for all that, sharkdp if you're reading!

    Ok, end OT-ness.

  • One-Liner for Finding Typos
    3 projects | dev.to | 28 Oct 2024
    However, if it catches too many typos in changelogs/README instead of the actual code, try using the fd command to specify file extensions or exclude directories. For example, the following command searches only for .cr files and excludes the lib directory:
  • Command Line Tools I Like (2022)
    23 projects | news.ycombinator.com | 9 Oct 2024
    Oh right, we didn't know this, most of the tools install guides have nix-env like fd, lychee, gtrash, etc and others we listed which we just use for installation.

    https://github.com/lycheeverse/lychee?tab=readme-ov-file#nix...

    https://github.com/sharkdp/fd?tab=readme-ov-file#on-nixos--v...

    https://github.com/umlx5h/gtrash?tab=readme-ov-file#nixpkgs-...

  • fd - A simple, fast and user-friendly alternative to 'find'
    2 projects | news.ycombinator.com | 24 Sep 2024
  • Techniques I Use to Create a Great User Experience for Shell Scripts
    16 projects | news.ycombinator.com | 13 Sep 2024
  • The Modern CLI Renaissance
    10 projects | news.ycombinator.com | 10 Sep 2024
    Disagree all you want, you still shouldn't be surprised people aren't expecting this

    fd: https://github.com/sharkdp/fd/issues?q=gitignore+

    And I stand by it is strictly better for the __default__ to be unfiltered. This is what people expect in general.

      > tailored for the common use cases today.
  • Show HN: Vomitorium – all of your project in 1 text file
    4 projects | news.ycombinator.com | 10 Sep 2024
  • Eza: A modern, maintained replacement for ls
    15 projects | news.ycombinator.com | 21 Jul 2024
    NOTE OF WARNING:

    BY DEFAULT these ignores anything included in your `.gitignore` folder. So if you think it is a straight find replacement, you'll likely be surprised. fd discussion here[0]

    Just make sure that when recommending people these tools that this is clear because if they don't read the docs (lol who does) they'll miss this part.

    This is a pet peeve of mine. I wish the people that make these replacement coreutils (and others) would leave the defaults as very similar to the original tool. I do really like the new functionalities but if you market it as "an alternative" ("It is a simple, fast and user-friendly alternative to find") then they should respect the defaults of the original because it reduces new user surprise. I mean aliases exist... So it is better to have in your ~/.${SHELL##*/}rc file to have `alias fd='fd --ignore'` than `alias fd='fd --no-ignore'`.

    Side note/pro tip: use `\command` if you want to use an unaliased version. An example of this is that I have `alias grep='grep --color=always --no-messages --binary-files=without-match` but this can sometimes be problematic because the color option can change the character representation so if you pipe this into `curl` you will get errors. This is not the case in all piping, but it is a shocking and confusing experience when you first encounter it. You can validate this by `echo "Hello world" | \grep --color=always "Hello" | hexdump` and then `!!:s^always^never`

    [0] https://github.com/sharkdp/fd/issues/612

  • How to Fuzzy Search: Finding File Names and Contents using Bash Scripting and Commandline Tools
    1 project | dev.to | 30 Jun 2024
    1. fd command
  • Customizing Your Lazyvim Setup for Personal Preferences
    27 projects | dev.to | 30 Jun 2024
    find files: fd

watchexec

Posts with mentions or reviews of watchexec. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2023-04-01.

What are some alternatives?

When comparing fd and watchexec you can also consider the following projects:

telescope.nvim - Find, Filter, Preview, Pick. All lua, all the time.

entr - Run arbitrary commands when files change

ripgrep - ripgrep recursively searches directories for a regex pattern while respecting your gitignore

watchman - Watches files and records, or triggers actions, when they change.

fzf - :cherry_blossom: A command-line fuzzy finder

systemd-manager

exa - A modern replacement for ‘ls’.

fswatch - A cross-platform file change monitor with multiple backends: Apple OS X File System Events, *BSD kqueue, Solaris/Illumos File Events Notification, Linux inotify, Microsoft Windows and a stat()-based backend.

skim - Fuzzy Finder in rust!

coreutils - Cross-platform Rust rewrite of the GNU coreutils

vim-grepper - :space_invader: Helps you win at grep.

concurr - Performs distributed command execution, written in Rust w/ Tokio

SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured