Finding duplicate files: Difference between revisions

From Newroco Tech Docs
Jump to navigationJump to search
No edit summary
No edit summary
Line 2: Line 2:




==How to install==
==How to install for xenial 16.04==
<pre>
<pre>
$ apt-get install git scons python3-sphinx python3-nose gettext build-essential
$ apt-get install git scons python3-sphinx python3-nose gettext build-essential
Line 21: Line 21:
$ sudo scons DEBUG=1 --prefix=/usr install
$ sudo scons DEBUG=1 --prefix=/usr install
</pre>
</pre>
==Install for ubuntu 18.04==
apt-get install rmlint


==Useful==
==Useful==

Revision as of 06:50, 24 April 2019

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