Home > garbagefinder

garbagefinder

Garbagefinder is a project mainly written in C, based on the GPL-3.0 license.

Recursively searches current directory for files containing only the null character (0x00) and reports those files' names to stdout.

garbagefinder - Recursively searches current directory for files containing only the null character (0x00) and reports those files' names to stdout.

I created this quick hack after I had a hard drive crash. At first glance, I was able to recover all files. But many of them turned out to be full of 0x00 and nothing else. So I wrote this tool to recover all the lost space on my new disk, because storing gigabytes worth of zeroes is somewhat pointless.

Just make it and then run it from any directory. It will search the files in the current directory and all subdirectories recursively, and print out one line per garbage file found, relative to the current directory.

Copyright (C) 2010 Crazor [email protected]

This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program; if not, see http://www.gnu.org/licenses/.

Previous:NodeHuffman