Take the 2-minute tour ×
Ask Ubuntu is a question and answer site for Ubuntu users and developers. It's 100% free, no registration required.

Are there any console-only alternatives to the fslint package in Ubuntu? I don't want to install x11-common, fonts and many of the other dependencies required by it on a server system.

Note: this is not just about finding duplicates. fslint offers all kinds of fine features to fix broken file/folder names, for example.

share|improve this question

2 Answers 2

up vote 2 down vote accepted

Fslint package is only a graphical wrapper for fslint bash scripts that can be found here:

http://fslint.googlecode.com/svn/trunk/fslint/

There you will find the individual tools in quesition. See the manpages for fslint for a description of the individual tools.

findup - find DUPlicate files
findnl - find Name Lint (problems with filenames)
findu8 - find filenames with invalid utf8 encoding
findbl - find Bad Links (various problems with symlinks)
findsn - find Same Name (problems with clashing names)
finded - find Empty Directories
findid - find files with dead user IDs
findns - find Non Stripped executables
findrs - find Redundant Whitespace in files
findtf - find Temporary Files
findul - find possibly Unused Libraries
zipdir - Reclaim wasted space in ext2 directory entries

share|improve this answer
    
Aaaaah, there we go. Thanks a bunch. That'd be the answer I was looking for. –  0xC0000022L Jul 11 '12 at 18:41
    
I was aware of the individual tools, just not how to get them without getting the dependencies. –  0xC0000022L Jul 11 '12 at 18:45
1  
It looks better (for other people) if we had them listed. –  Takkat Jul 11 '12 at 18:47

fdupes

Searches  the  given  path for duplicate files. Such files are found by 
comparing file sizes and MD5 signatures,  followed  by  a  byte-by-byte
comparison.

To install

sudo apt-get install fdupes

Here is the Ubuntu Manpage

share|improve this answer
    
Thanks for the answer. And +1 for the effort. It's not quite what I'm looking for it seems. The part of fslint I was interested in was about "invalid characters", file names in the same folder that can cause issues on a case-insensitive system etc ... –  0xC0000022L Jul 11 '12 at 18:14
    
I believe there is also a CLI for fslint. Not tried it though. –  abhshkdz Jul 11 '12 at 18:23
    
any idea how I can then get rid of some of the dependencies of fslint that would only be needed if I wanted the GUI version anyway? –  0xC0000022L Jul 11 '12 at 18:36

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.