pixelb / fslint Goto Github PK
View Code? Open in Web Editor NEWLinux file system lint checker/cleaner
Linux file system lint checker/cleaner
Original issue 6 created by pixelb on 2007-07-24T12:56:51.000Z:
87246 from launchpad.net
Original issue 22 created by pixelb on 2009-04-10T14:23:46.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Duplicates, instead I see:
./findup: line 133: [: =: unary operator expected
What version of the product are you using? On what operating system?
Running 2.28 but have witnessed this on 2.24 as well.
Please provide any additional information below.
Original issue 40 created by pixelb on 2009-09-23T12:51:05.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
CentOS 5.3
FSlint 2.40 (using Text interface)
Please provide any additional information below.
Please contact me if you need further information.
Original issue 47 created by pixelb on 2010-04-05T23:24:43.000Z:
http://comments.pixelbeat.org/fslint/#comment-90521
coreutils' sum utils on cygwin output an extra '' char
to flag a file as binary. Pretty silly really but we can get around the
disparity with sane systems by specifying the -b option to always output
the '*' flag which we can then strip.
Original issue 20 created by pixelb on 2009-01-31T21:11:31.000Z:
What is the expected output? What do you see instead?
fslint finds 500+ 1-byte files in my Google Earth directory, for instance,
and I want to keep them, so I'd like to "close" the group up so I don't
have to look at them while looking through other files.
What version of the product are you using? On what operating system?
FSlint 2.26 - Ubuntu Intrepid
Original issue 25 created by pixelb on 2009-06-02T20:56:14.000Z:
It would be great to see if there are duplicate folders. This could save
the user a lot of time when there are duplicate folders with a lot of files.
Original issue 33 created by pixelb on 2009-06-02T21:14:27.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I would expect the scroll position to not change.
What version of the product are you using? On what operating system?
Jaunty 64-bit.
Original issue 31 created by pixelb on 2009-06-02T21:07:22.000Z:
This would protect against the case where someone control-selects a lot and
then accidentally has an aberrant click.
Original issue 29 created by pixelb on 2009-06-02T21:04:33.000Z:
That way the user could go after the really big duplicates first, which are
eating up the most space.
Original issue 32 created by pixelb on 2009-06-02T21:09:36.000Z:
This might be a nice feature to add to the right-click menu.
With this feature, you could look at the folders in which the duplictes are
located. For example, I would probably delete duplicates from the folder
which contains the least files.
Original issue 45 created by pixelb on 2010-02-10T03:23:10.000Z:
I have tested this on two different Ubuntu 9.10 systems and a Debian Lenny system with
fslint installed from the repos which is version 2.40-2.
Take a file and give it a bad id. I do chown 7000:7000 badid
.
$ /usr/share/fslint/fslint/findid
-rw-r--r-- 1 7000 7000 0 2010-02-09 18:31 badid
Works as it should. However, when I go to the GUI I get an error.
<type 'exceptions.NameError'>: global name 'ps' is not defined
See attached file.
I was unable to find any reports or solutions.
Thanks for your time and help!
Original issue 3 created by pixelb on 2006-11-25T21:33:39.000Z:
Note this bug only affects systems with findutils >= 4.2
This bug was reported and fixed by Robert Seczkowski.
Original issue 8 created by pixelb on 2007-12-16T01:36:58.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
[substance@pc_hp fslint]$ ./fslint
./fslint: line 26: /home/substance/Desktop/downloads/linux: No such file or
directory
-----------------------------------file name lint
./fslint: line 60: /home/substance/Desktop/downloads/linux: No such file or
directory
-------------------------------Invalid utf8 names
./fslint: line 62: /home/substance/Desktop/downloads/linux: No such file or
directory
-----------------------------------file case lint
./fslint: line 64: /home/substance/Desktop/downloads/linux: No such file or
directory
----------------------------------DUPlicate files
./fslint: line 66: /home/substance/Desktop/downloads/linux: No such file or
directory
-----------------------------------Dangling links
./fslint: line 68: /home/substance/Desktop/downloads/linux: No such file or
directory
--------------------redundant characters in links
./fslint: line 70: /home/substance/Desktop/downloads/linux: No such file or
directory
------------------------------------suspect links
./fslint: line 72: /home/substance/Desktop/downloads/linux: No such file or
directory
--------------------------------Empty Directories
./fslint: line 74: /home/substance/Desktop/downloads/linux: No such file or
directory
----------------------------------Temporary Files
./fslint: line 76: /home/substance/Desktop/downloads/linux: No such file or
directory
----------------------duplicate/conflicting Names
./fslint: line 81: /home/substance/Desktop/downloads/linux: No such file or
directory
------------------------------------------Bad ids
./fslint: line 84: /home/substance/Desktop/downloads/linux: No such file or
directory
-------------------------Non Stripped executables
./fslint: line 89: /home/substance/Desktop/downloads/linux: No such file or
directory
What version of the product are you using? On what operating system?
Version() {
echo "FSlint 2.24" && exit
}
Please provide any additional information below.
mail me at [email protected] should you need additional info or correct the
issue, should be easily resolved by adding qoutes to your directory
references, unfortunately I am extremely busy and would have corrected it
for ya.. hehe.. sorry, but figured I'd atleast let you know, cheers.
Original issue 30 created by pixelb on 2009-06-02T21:06:06.000Z:
It would be nice if the user could highlight some files and use the select
options on just that subset of highlighted files.
Original issue 2 created by pixelb on 2006-11-10T22:06:08.000Z:
This was reported originally by Eike Sauer at:
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=380208
Original issue 26 created by pixelb on 2009-06-02T20:59:24.000Z:
Ideally, I would like to be able to say to fslint "if there are two
duplicates, and one of them is in a path with the word 'temp' in it, then
delete that one, but not if both are in temp."
Original issue 24 created by pixelb on 2009-05-28T09:44:39.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
I expected it to find duplicate mp3 files but I got a:
/usr/share/fslint/fslint/supprt/md5sum_approx:13: DeprecationWarning: the
md5 module is deprecated; use hashlib instead
import os,sys,md5
What version of the product are you using? On what operating system?
Ubuntu Jauntu
Both the official version 2.26 and the version 2.28.1
Please provide any additional information below.
Original issue 12 created by pixelb on 2008-10-17T21:00:40.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
What version of the product are you using? On what operating system?
Please provide any additional information below.
Original issue 37 created by pixelb on 2009-07-08T07:48:05.000Z:
It would be useful to remove filenames from the duplicate file results
without removing the files. It could help viewing a lot of files if, for
example, the user could select by wildcard and then have the option of
"remove filenames from the list" to be able to view the other files more
easily.
Original issue 17 created by pixelb on 2009-01-12T15:47:00.000Z:
A progress bar of sorts giving an indication how long a search will take
would be a nice improvement, especially when searching large partitions
with many duplicates spread all over the place ;)
Original issue 27 created by pixelb on 2009-06-02T21:02:02.000Z:
I find fsliint rather computer-intensive at times and scans can take
awhile. It would be nice to be able to pause a search, perhaps be able to
hibernate and come back, maybe even save (?) a duplicates search and be
able to exit fslint and come back, so you can do the search in segments.
Original issue 9 created by pixelb on 2008-06-04T15:21:08.000Z:
It would be nice to have symlink support, so far I cannot use the tool to
rid a directory containing only symlinks of duplicates. I solved the
problem by changing the "find -type f" statement in findup
to "find -xtype f", but I cannot tell what other implications that might
have on the program. Maybe this could be made an option?
Cheers, Tom
Original issue 42 created by pixelb on 2009-12-20T21:37:45.000Z:
The *.desktop files do not take very much disk space but what is the reason
keeping dead-menu entries in gnome/KDE panels after an uninstall script does
not do its job done properly? It'd be nice if fslint could detect such files
by looking at Exec= line and checking if the file to be executed exists (or
is in path) and then user would have an option to review and delete if
needed.
Original issue 38 created by pixelb on 2009-09-01T20:17:36.000Z:
The dupwaste command gives bytes, having an option (-h?) to give a human
readable output using KB, MB, GB and so on.
AJ
Original issue 50 created by pixelb on 2010-05-31T20:06:48.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
"If no path(s) specified then the currrent directory is assumed"
currrent->current
What version of the product are you using? On what operating system?
Using 2.43 checked out ~1week ago.
Original issue 21 created by pixelb on 2009-03-01T04:37:56.000Z:
i'm using the fslint v2.28 and for several times i wish i could see the
date (or dates, atime, mtime and ctime) for the files, so i drop here a
suggestion for this feature...
So it would be great to be able to have a extra column that shows the
date for each file, it can even be off by default, but you could enable
it fast and to be perfect, choose if the date is atime, ctime or mtime
(maybe a drop down menu and automatically change the output for all
files)
thanks
higuita
Original issue 11 created by pixelb on 2008-10-06T18:34:13.000Z:
A program toolbar with a file->quit and a help->about option would be very
useful.
Original issue 34 created by pixelb on 2009-06-11T01:46:22.000Z:
What steps will reproduce the problem?
What version?
2.28-1
Please provide any additional information below.
Error messages:
Traceback (most recent call last):
File "/usr/share/fslint/fslint/supprt/md5sum_approx", line 55, in <module>
map(printsum, sys.argv[1:])
File "/usr/share/fslint/fslint/supprt/md5sum_approx", line 51, in printsum
sys.stdout.write("%s %s\n" % (md5sum(filename),filename))
File "/usr/share/fslint/fslint/supprt/md5sum_approx", line 21, in md5sum
sum = md5.new()
NameError: global name 'md5' is not defined
Original issue 51 created by pixelb on 2010-05-31T21:01:19.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The expected output of packages, size, and description works. There is just
a error thrown:
<type 'exceptions.ValueError'>: need more than 1 value to unpack
What version of the product are you using? On what operating system?
FSlint 2.43 pulled ~1 week ago. Debian Lenny
Complied by first doing a svn checkout then 'dpkg-buildpackage -I.svn
-rfakeroot -tc' and installing the .deb file.
Please provide any additional information below.
I think I know what the problem is but I do not have the means of
verifying it at this time. Fslint-gui runs the following on the system:
dpkg-query -W --showformat='${Package}\t${Installed-Size}\t${Status}\n' |
LANG=C grep -F 'installed' | cut -f1,2 | LANG=C sort -k2,2rn
It then takes this data and passes it to a split() command. The problem
seems to be that when I run this command on my system several packages
appear that do not have a size associated with them. Some of them are
packages I built/installed. Others are third party such as truecrypt and
playonlinux. It is my belief that split is kicking back the error due to
there not being an associated file size. I do not know why these packages
don't have a file size. I am hoping this can be confirmed by someone else.
Original issue 4 created by pixelb on 2007-07-12T02:07:35.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The program stopped responding after clicking Delete. The file ends up
being deleted after running the program again.
What version of the product are you using? On what operating system?
Ubuntu 7.04, problem using both 2.16 and 2.22
Please provide any additional information below.
Original issue 39 created by pixelb on 2009-09-17T18:13:01.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The GUI should start but instead the output in attached fslint_bug.txt file
is shown
What version of the product are you using? On what operating system?
Version fslint-2.20, fslint-2.40 for Gentoo Linux
Please provide any additional information below.
It worked before and other software using libglade I tried worked.
I have no clue what update caused this failure and I also rebuild all
direct and indirect dependencies of fslint by emerge -e fslint.
The versions of the direct dependencies of fslint are listed in fslint_deps.txt
Original issue 5 created by pixelb on 2007-07-22T08:26:46.000Z:
What steps will reproduce the problem?
What is the expected output?
the folder 4 4 | /home/davidt/1/2/3
What version of the product are you using? On what operating system?
fslint-2.22-1.fc7
as packaged within fedora everything.
Please provide any additional information below.
mv ~/1/2/3/4\ 4 ~/1/2/3/4
lets fslint build the list {1 item}, and tag then delete, works normally.
Original issue 48 created by pixelb on 2010-05-08T10:01:58.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
The results should only show empty directories, but it includes ALL
directories. This is a potential data-loss hazard.
What version of the product are you using? On what operating system?
fslint_2.40 on Ubuntu Lucid
Please provide any additional information below.
Original issue 46 created by pixelb on 2010-03-15T19:16:53.000Z:
Hey, i was looking for a tool to help me clean up stuff that i had locally
installed from sources before, and other bits and pieces in system that i
had inflicted.
Fslint helps identify a bunch of packages, but im using a script similar to
attached ( with some local tunings like "allow list" of dirs that i know i
have installed )
At the first run the output may be several 10s of megabytes, but when you
filter it, it actually gives pretty good overview.
Original issue 44 created by pixelb on 2010-02-09T21:31:45.000Z:
I have found I often have duplicate directories of files.
Original issue 28 created by pixelb on 2009-06-02T21:03:23.000Z:
At first I thought I could get this by using toggle, but that's only if
exactly one pair of duplicate is found.
Original issue 15 created by pixelb on 2008-12-14T17:06:06.000Z:
You should be able to delete empty directories recursively, meaning that if
a directory contains only empty directories, it too will be considered
empty. This program provides this function on Windows:
http://www.jonasjohn.de/lab/red.htm
This program also optionally delete directories that only contain junk,
like Thumbs.db files. FSLint might be able to provide this too?
What version of the product are you using? On what operating system?
FSlint 2.26 Ubuntu Intrepid 8.10
Original issue 41 created by pixelb on 2009-09-25T09:29:12.000Z:
OS: Ubuntu 8.10 2.6.27-14-generic
recent FSlint version unknown since no 'Info' dialog available
Request:
Please add wildcard selection of file by path.
Current situation:
Currently, the filter is applied only to the filename.
Problem:
I have to merge several filesystems of which one has been used as backup,
inconsistently. So I have mostly the same data in different directory
trees, but some of the structure / files have been changed.
A first step in merging is to remove the duplicates in a specific directory
tree.
Original issue 36 created by pixelb on 2009-07-08T07:44:55.000Z:
searches can sometimes take a long time. It would be nice to queue several
searches (eg duplicates and bad names) to run one after the other without
checking back, especially since there is no progress indicator.
Original issue 16 created by pixelb on 2008-12-18T22:49:08.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
expected is a list of installed packages with disk usage
instead i get an error message:
<type 'exceptions.ValueError'>: invalid literal for int() with base 10:
'Installed3684.00K'
What version of the product are you using? On what operating system?
FSlint 2.28, current Arch Linux
Original issue 10 created by pixelb on 2008-10-06T17:45:48.000Z:
You can use apt: links in Ubuntu to install a program from the users
repository, so it would be good if you changed "sudo apt-get install
fslint" to "<a href="apt:fslint">click to install</a>".
It's much easier and lazy-friendly!
Original issue 13 created by pixelb on 2008-12-11T19:01:03.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
It would be nice to open the previously stored data. Especially with large
datasets. Now you can only save the results.
What version of the product are you using? On what operating system?
ii fslint 2.26-2 A utility to fix problems with filesystems'
Ubuntu intrepid
Please provide any additional information below.
ps. love the program.
Original issue 35 created by pixelb on 2009-07-08T07:41:09.000Z:
I would like to suggest adding a column under "bad names" which describes
why the filename is bad, and especially a key which describes the problems
one could encounter if the filename was left as is (eg compatibility problems).
Original issue 7 created by pixelb on 2007-09-08T12:47:53.000Z:
Starting the whole python takes some time. So this yields the same result
and is much faster:
md5=$(dd if="$1" bs=512 count=1 2>/dev/null|md5sum|cut -d" " -f1)
echo "$1 $md5"
Original issue 43 created by pixelb on 2010-01-26T13:13:20.000Z:
In the duplicates section, fslint can merge many files by creating a hard link.
Hard links avoid wasting disk space, but a copy on another area would need
another duplicates pass.
I prefer using (relative) symlinks which are copy-safe and somehow "cleaner".
In addition to the Merge button, a Link button would be useful to link all
the non-selected elements to the selected one in a set.
Original issue 19 created by pixelb on 2009-01-31T19:57:33.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Since file names usually differ at the beginning or end, the files should
be abbreviated by cutting out the middles:
This is a file.txt
This is a long f...is number 001.jpg
This is a long f...is number 002.jpg
This is a long f...is number 003.jpg
This is a long f...that it ends in.htm
This is a short filename.jpg
If you resize a column, it should not revert back to the previous size.
What version of the product are you using? On what operating system?
FSlint 2.26 - Ubuntu Intrepid
Original issue 1 created by pixelb on 2006-11-06T13:26:33.000Z:
More generally, extra parameters to find
are note quoted appropriately.
Original issue 14 created by pixelb on 2008-12-14T17:03:07.000Z:
If you are using wildcard selection, it is easy to accidentally highlight
all copies of the same file for deletion. The program should warn you
before you do this. There is no need to warn before deleting any file, but
there is a need to warn if the user has selected every copy of a file (no
copy of this data will still exist after deletion).
This would be similar to
http://www.geocities.com/hirak_99/goodies/finddups.html
What version of the product are you using? On what operating system?
FSlint 2.26 Ubuntu Intrepid 8.10
Original issue 23 created by pixelb on 2009-05-04T09:59:20.000Z:
What steps will reproduce the problem?
What is the expected output? What do you see instead?
Open file; does not open file
What version of the product are you using? On what operating system?
2.28; Ubuntu 9.04
Please provide any additional information below.
Original issue 49 created by pixelb on 2010-05-22T14:05:28.000Z:
Please add '*/.hg' to bad_dir as Mercurial directories can be ignored.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.