Coder Social home page Coder Social logo

fslint's People

Contributors

asashnov avatar baltix avatar brightghost avatar hbschr avatar jehan avatar jose1711 avatar olorin avatar pinotree avatar pixelb avatar ykurlaev avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

fslint's Issues

Cannot find duplicates

Original issue 22 created by pixelb on 2009-04-10T14:23:46.000Z:

What steps will reproduce the problem?

  1. Click duplicates
  2. Click find
  3. Error message

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.

Cannot handle files whose name ends with a space

Original issue 40 created by pixelb on 2009-09-23T12:51:05.000Z:

What steps will reproduce the problem?

  1. Create a filename that ends with the space character
  2. run findup on it
  3. du errors that it cannot find the file, however the name shown in quotes
    does not have the trailing space

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.

support cygwin

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.

Should be able to "fold up" or hide groups that you don't want to look at

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

http://ubuntuforums.org/showthread.php?t=272292&page=3

deleting two files on different scroll-windows causes fslint to scroll down to the bottom

Original issue 33 created by pixelb on 2009-06-02T21:14:27.000Z:

What steps will reproduce the problem?

  1. run fslint so that a lot of duplicates show up (at least so that you
    have to scroll down to see them all)
  2. then, select one file, scroll down and control-select another file
  3. delete the files

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.

have an "undo selection change"

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.

sort duplicates found by size

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.

open duplicate in file-manager

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.

Error on Bad ID page

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!

software unable to handle whitespace (standard space character, trims at first portion before space char)

Original issue 8 created by pixelb on 2007-12-16T01:36:58.000Z:

What steps will reproduce the problem?

  1. fslint (with no arguments executed in a path such as /home/mr user/
    2.
    3.

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.

allow wildcard selection for the directory path.

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."

depricationwarning md5

Original issue 24 created by pixelb on 2009-05-28T09:44:39.000Z:

What steps will reproduce the problem?

  1. Use fslint remove duplicates on a folder containing music files

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.

No ability to save choices from Advanced Search

Original issue 12 created by pixelb on 2008-10-17T21:00:40.000Z:

What steps will reproduce the problem?

  1. Add paths
  2. restart
  3. not saved

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.

remove files from a list (not

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.

(suggestion) Progress bar for duplicate file checks

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 ;)

"pause" option for duplicate search

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.

Symlink Support would be nice...

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

Enhancement:find invalid .desktop files

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.

Typo - Low priority; easy fix. :)

Original issue 50 created by pixelb on 2010-05-31T20:06:48.000Z:

What steps will reproduce the problem?

  1. /usr/share/fslint/fslint/zipdir --help

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.

result should have a date column

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

md5 duplicate check fails on kubunty jaunty

Original issue 34 created by pixelb on 2009-06-11T01:46:22.000Z:

What steps will reproduce the problem?

  1. try to find duplicate files
  2. fail
  3. read error message.

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

Installed packages throws error; no size associated with package?

Original issue 51 created by pixelb on 2010-05-31T21:01:19.000Z:

What steps will reproduce the problem?

  1. Start fslint-gui
  2. Switch to Installed Packages
  3. Run find.

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.

freeze on delete

Original issue 4 created by pixelb on 2007-07-12T02:07:35.000Z:

What steps will reproduce the problem?

  1. generate list of duplicate files
  2. select one file from the list
  3. push Delete button

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.

fslint does not start after few system updates

Original issue 39 created by pixelb on 2009-09-17T18:13:01.000Z:

What steps will reproduce the problem?

  1. download fslint ebuild for gentoo into local portage overlay
  2. install (emerge) fslint
  3. start fslint-gui

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

Empty directory search aborts if a directory is found with space in the name

Original issue 5 created by pixelb on 2007-07-22T08:26:46.000Z:

What steps will reproduce the problem?

  1. mkdir -p ~/1/2/3/4\ 4
  2. ls -ld ~/1/2/3/4\ 4
    drwxrwxr-x 2 davidt davidt 4096 2007-07-22 18:11 /home/davidt/1/2/3/4 4
  3. fslint-gui
  4. search path|remove|add|/home/davidt/1
  5. empty directories|find
    What do you see instead?
    <type 'exceptions.OSError'>: [Errno 2] No such file or directory:
    '/home/davidt/1/2/3/4\ 4'

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.

"Empty directories" search results includes non-empty directories when "recurse" is off.

Original issue 48 created by pixelb on 2010-05-08T10:01:58.000Z:

What steps will reproduce the problem?

  1. add a directory with some subdirectories
  2. turn off "recurse"
  3. do an "empty directories" search

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.

(Debian/ubuntu-specific) ability to find files not owned by packages

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.

Recursively delete empty folders

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

Request: select file by path with wildcard

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.

queueing searches

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.

installed packages feature does not work under arch linux

Original issue 16 created by pixelb on 2008-12-18T22:49:08.000Z:

What steps will reproduce the problem?

  1. run fslint-gui
  2. select installed packages, click Find

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

(suggestion) make use of an apt: link

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!

Cannot open previously saved files

Original issue 13 created by pixelb on 2008-12-11T19:01:03.000Z:

What steps will reproduce the problem?

  1. Try to open previously saved results
    2.
    3.

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.

bad filenames

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).

faster version of md5sum_approx

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:

!/bin/sh

md5=$(dd if="$1" bs=512 count=1 2>/dev/null|md5sum|cut -d" " -f1)
echo "$1 $md5"

Create symlinks for duplicates

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.

Abbreviate file names and path names by cutting out the middle.

Original issue 19 created by pixelb on 2009-01-31T19:57:33.000Z:

What steps will reproduce the problem?

  1. Run fslint GUI on a folder recursively with long file names and deep
    path names
  2. The display of filenames is too wide to fit on the screen, making you
    scroll to show everything.
  3. If you shrink the columns and then delete a file, the columns expand
    back to their normal size.

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

Warn before deleting all copies of a file

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

Fails to open files with ' (apostrophe) in path

Original issue 23 created by pixelb on 2009-05-04T09:59:20.000Z:

What steps will reproduce the problem?

  1. Do duplicate file find
  2. Try opening a file with an apostrophe in the path
  3. xdg-open error (but xdg-open will open file when tried in terminal so
    expect issue is in how fslint parses the path).

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.

Mercurial directories

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.