1
GitHub - m-manu/go-find-duplicates: A fast and simple tool to find duplicate fil...
source link: https://github.com/m-manu/go-find-duplicates
Go to the source link to view the article. You can view the picture content, updated content and better typesetting reading experience. If the link is broken, please click the button below to view the snapshot at that time.
Go Find Duplicates
Introduction
A blazingly-fast simple-to-use tool to find duplicate files (photos, videos, music, documents etc.) on your computer, portable hard drives etc.
How to install and use?
Two ways: (one direct, one through docker)
Direct
To install:
- Install Go version at least 1.16
- On Ubuntu:
snap install go
- On Mac:
brew install go
- For any other OS: Go downloads page
- On Ubuntu:
- Run command:
go get github.com/m-manu/go-find-duplicates
- Ensure
$HOME/go/bin
is part of$PATH
To use:
go-find-duplicates {dir-1} {dir-2} ... {dir-n}
For more options and help, run:
go-find-duplicates -help
Through Docker
docker run --rm -v /Volumes/PortableHD:/mnt/PortableHD manumk/go-find-duplicates:latest go-find-duplicates -output=print /mnt/PortableHD
In above command:
- option
--rm
removes the container when it exits - option
-v
is mounts host directory/Volumes/PortableHD
as/mnt/PortableHD
inside the container
Recommend
About Joyk
Aggregate valuable and interesting links.
Joyk means Joy of geeK