dedupe VS command_help

Compare dedupe vs command_help and see what are their differences.

dedupe

Deduplicate files within a given list of directories by keeping one copy and making the rest hard-links. (by Gumnos)

command_help

:information_source: Extract help text from builtin commands and man pages (by learnbyexample)
InfluxDB - Power Real-Time Data Analytics at Scale
Get real-time insights from all types of time series data with InfluxDB. Ingest, query, and analyze billions of data points in real-time with unbounded cardinality.
www.influxdata.com
featured
SaaSHub - Software Alternatives and Reviews
SaaSHub helps you find the best software and product alternatives
www.saashub.com
featured
dedupe command_help
3 8
3 93
- -
0.0 0.0
over 6 years ago over 3 years ago
Python Shell
BSD 2-clause "Simplified" License -
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.

dedupe

Posts with mentions or reviews of dedupe. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-03-17.
  • fdupes alternatives?
    1 project | /r/commandline | 18 Jun 2022
    I wrote https://github.com/Gumnos/dedupe which sounds like it might be useful to you. It's faster than several of the alternatives I've found (many run the checksum across the whole of every file, this uses the file-size as a first-line discriminator, and only if the files are the same size does it go to the trouble of checking the checksum of the files). I designed it for creating hard-links in my media collection, but in the --dry-run mode, it should emit the file-names allowing you to pass it to xargs to remove them if it looks copacetic.
  • File Management via CLI
    7 projects | /r/commandline | 17 Mar 2022
    You can use my dedupe.py script with the dry-run flag (-n) to find all the duplicates on your drive. If you run it without the dry-run flag, it will attempt to make hard-links so that each file exists only once on the drive with multiple hard-links to the underlying file. It should be pretty fast, only needing to checksum file-content in the event that files have the same size (several other such deduplication methods work by checksumming every file on the drive which can be slow).
  • What tools / utilities have you written that you use regularly?
    42 projects | /r/commandline | 17 Sep 2021
    a file-deduplication utility that hard-links duplicate files to save space (our family photo gallery gets pics put in multiple albums for various audiences, so I can cut down on a lot of duplication with this)

command_help

Posts with mentions or reviews of command_help. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-08-26.
  • Ask HN: What do you use to make CLIs?
    9 projects | news.ycombinator.com | 26 Aug 2022
    I use a lot of CLI tools, but haven't written many for myself. Mostly, aliases/functions and some scripts in Bash/Python.

    Extract details for command options from man/help: https://github.com/learnbyexample/command_help/blob/master/c...

    cut-like syntax for field manipulations with regexp, negative indexing, etc: https://github.com/learnbyexample/regexp-cut/blob/main/rcut

    simple calculator using python syntax: https://learnbyexample.github.io/practice_python_projects/ca...

  • A better way of displaying help text on the command line
    1 project | /r/bashrc | 25 Aug 2022
  • Enter a command to see help text for each arg
    4 projects | news.ycombinator.com | 30 May 2022
    I wrote a Linux CLI tool [0] that parses the man/help pages to extract option details. Works most of the time for me, but there are plenty of corner cases that don't work.

    [0] https://github.com/learnbyexample/command_help

  • What tools / utilities have you written that you use regularly?
    42 projects | /r/commandline | 17 Sep 2021
    https://github.com/learnbyexample/command_help to extract help text from builtin commands and man pages, ex:
  • What's a program you made that you actually use regularly?
    24 projects | /r/learnprogramming | 28 Aug 2021
    https://github.com/learnbyexample/command_help is big enough to warrant a repo, examples, limitations, etc. I had a list of todo items to improve the script, but after years of usage, I'm fine with the limitations since I rarely encounter them. This helps me to extract documentation of particular options, here's an example:
  • Save Time Using Manop to Print Only Selected Content From the Man Page using Manop
    2 projects | /r/commandline | 1 Jun 2021
    I wrote one a few years back (https://github.com/learnbyexample/command_help). It has a few corner case issues, but works most of the time for me and supports multiple options to be retrieved.
  • Explainshell - A tool that takes any shell commands, looks up the syntax and options from man pages, and steps you through what it does!
    1 project | /r/commandline | 26 Jan 2021
    I particularly wanted to lookup documentation for command options from my terminal (instead of the website), so wrote a script for it: https://github.com/learnbyexample/command_help ... Have a long pending todo list, but despite the issues, the tool is good enough for my needs.
  • Testing
    2 projects | dev.to | 19 Jan 2021
    When I start a project, I usually try to write the programs incrementally. Say I need to iterate over files from a directory. I will make sure that portion is working (usually with print() statements), then add another feature — say file reading and test that and so on. This reduces the burden of testing a large program at once at the end. And depending upon the nature of the program, I'll add a few sanity tests at the end. For example, for my command_help project, I copy pasted a few test runs of the program with different options and arguments into a separate file and wrote a program to perform these tests programmatically whenever the source code is modified.

What are some alternatives?

When comparing dedupe and command_help you can also consider the following projects:

ripgrep-all - rga: ripgrep, but also search in PDFs, E-Books, Office documents, zip, tar.gz, etc.

hn-reader - A dark mode reader app for Hacker News

file-arranger - Simple & capable Directory arranger/cleaner

pinpoint - Keystroke launcher and personal command central. Alternative to Spotlight and Alfred for Windows. Alternative to Wox, PowerToys.

xonsh - :shell: Python-powered, cross-platform, Unix-gazing shell.

tera - Interactive Bash script terminal music radio player. Play your favorite radio station, CRUD your favorite lists, and explore new radio stations from your terminal.

tawk - Like awk, but using tcl as the scripting language.

sc2-replay-go

mpd_what - An mpd album art and info getter

ffupdate - A shellscript to automatically install and update firefox on linux.

ledger - Double-entry accounting system with a command-line reporting interface

smenu - smenu started as a lightweight and flexible terminal menu generator, but quickly evolved into a powerful and versatile CLI selection tool for interactive or scripting use.