Finding duplicate files
From Newroco Tech Docs
Revision as of 06:50, 24 April 2019 by Alexandru.horea (talk | contribs)
Using rmlint (not in a repo at time of writing). Home page
How to install for xenial 16.04
$ apt-get install git scons python3-sphinx python3-nose gettext build-essential # Optional dependencies for more features: $ apt-get install libelf-dev libglib2.0-dev libblkid-dev libjson-glib-1.0 libjson-glib-dev # Optional dependencies for the GUI: $ apt-get install python3-gi gir1.2-rsvg gir1.2-gtk-3.0 python-cairo gir1.2-polkit-1.0 gir1.2-gtksource-3.0
For Compilation
$ # Omit -b develop if you want to build from the stable master $ git clone -b develop https://github.com/sahib/rmlint.git $ cd rmlint/ $ scons config # Look what features scons would compile $ scons DEBUG=1 # Optional, build locally. # Install (and build if necessary). For releases you can omit DEBUG=1 $ sudo scons DEBUG=1 --prefix=/usr install
Install for ubuntu 18.04
apt-get install rmlint
Useful
Generate for cron
rmlint > output.txt echo "<message header>" | mail -s "<message> `hostname`" -A output.txt <mail_exmp>
ubuntu repository : https://packages.ubuntu.com/bionic/rmlint
Old write
https://github.com/sahib/rmlint
Base command notes on getting & use
git clone -b develop https://github.com/sahib/rmlint.git cd rmlint/ killall rmlint rmlint -g less rmlint.sh less rmlint.json
source : https://rmlint.readthedocs.io/en/latest/rmlint.1.html