There are many filesystem janitors like bleachbit, fslint, fdupes and so on. Where rmlint beats others is the speed at which it can find duplicates, broken links and other cruft on your filesystem. Continue reading rmlint: tidy up your filesystem
I posted earlier on how to search visually similar images on Ubuntu. Here’s a solution to find similar music files – dupeGuru. You can search different file formats. Check it out if you have a pretty messed up music or photo collection. In addition to the standard edition, there are two versions of dupeGuru dedicated towards music (dupeGuru Music Edition) and photo (dupeGuru Picture Edition).
dupeGuru uses a fuzzy search algorithm to find files with similar names or data. You can customize your search further from the preferences section.
dupeGuru supports Linux, WIndows and Mac. To install dupeGuru on Ubuntu:
$ sudo apt-add-repository ppa:hsoft/ppa $ sudo apt-get update //Standard Edition $ sudo apt-get install dupeguru-se //Music Edition $ sudo apt-get install dupeguru-me //Picture Edition $ sudo apt-get install dupeguru-pe
I was trying to order my camera images when I found that I have already copied, resized, renamed many of them previously and now I can’t find a way to get rid of duplicates. What I needed was a tool to find visually similar images. After searching a while I found findimagedupes which is available in synaptic. A dry run showed promising results and soon I found it can also detect similar images with different aspect ratios, more than 2 similar images etc. Performance is quite good considering I ran it on a directory having around 7000 files in it. Now going through the output list to delete the extra copies.
$ findimagedupes Pictures/ > dups //get the output in dups file
To install on Ubuntu:
$ sudo apt-get install findimagedupes
There are some excellent applications on Ubuntu which come handy frequently. I have listed some:
- Baobab: Graphical disk usage analyzer.
- BleachBit: Free up your system by removing temp files, history and other cruft.
- eboard: If you play on FICS eboard is indispensable.
- FSlint: Remove duplicate files. It can find things like duplicate files, problematic filenames, temporary files, bad symlinks, empty directories and nonstripped binaries.
- galculator: A better alternative to the gnome-calculator which still seems buggy/user-unfriendly to me when converting between Hex to Dec etc.
- GCstar: A collection manager for almost everything you collect.
- gFTP: Tiny multithreaded FTP, FTPS (control connection only), HTTP, HTTPS, SSH and FSP transfer client.
- Glipper: A very handy clipboard manager that can remember entries across reboot. It can be accessed using a keyboard shortcut beside your pointer (like right click) and you can choose the copied text.
- Gpick: Pick any color from the screen.
- GtkOrphan / RpmOrphan: The omnipotent clean-up utility of to get rid of unused libraries, packages etc.
- HandBrake: The best video encoder ever written!
- Leafpad: A great relief the bloated gedit editor is removable on Ubuntu 12.04. I use the lightweight Leafpad. When I need power, I use vi.
- localepurge: remove unnecessary locale files.
- Marlin: Lightweight and superfast file manager. To make it faster:
$ sudo mv /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd /usr/lib/x86_64-linux-gnu/tumbler-1/tumblerd.bak
- nautilus-image-converter: Resize and rotate images from nautilus.
To customize it, edit:
- PCManFM: Ultra-lightweight and fast file manager.
- qBittorrent: µTorrent for Linux. Supports torrents, magnets and DHT.
- Subtitle Editor: Do anything with movie subtitles.
- rar & unrar: Frequently needed to extract downloaded rar files.
- wget: A very very powerful cmdline downloader (a good multi-threaded alternative is axel).
As an example of the power of wget, a whole website can be downloaded using the following command (instead of installing HTTrack):
$ wget -r -mirror -p -convert-links -P ./mydir URL
-mirror : turn on options suitable for mirroring.
-p : download all files that are necessary to properly display a given HTML page.
-convert-links : after the download, convert the links in document for local viewing.
-P ./mydir : save all the files and directories in ./mydir. To resume a partial downloads (if server supports), run the following command in the same directory:
$ wget -c file_URL
- xpad: A tiny sticky notes application. (#9a99ff is my preferred bg colour)
I used to use wine 3 years back to run some Windows applications but Google helped me find much better alternatives for all my needs on Ubuntu.