hello.
I'm trying to figure out how most duplicate file finder programs do the actual comparison of files (algorithm). I tried to start REALLY simple and figure an algorithm out on my...
Type: Posts; User: geekoftheweek
hello.
I'm trying to figure out how most duplicate file finder programs do the actual comparison of files (algorithm). I tried to start REALLY simple and figure an algorithm out on my...
Some code I whipped up in about an hour to do a depth-first traversal of given directory. Was wondering if anyone can critique this code and maybe suggest some things to do differently, etc. Am I...
thanks everyone! I think what it may be is that I may not be traversing links. It's strange, because It works on most directories without special files. Being sort of naive about Linux file types...
Hi.
Made this utility to count all files recursively through directories and give a total of bytes used and would like any criticism as to how it could be more efficient, etc. Also,...
thanks MK27. Will that algorithm also handle all sub-directories infinitely underneath the directory in question?
Hello.
I'm trying to design an algorithm that I could use in various programs under linux using readdir(), opendir(), etc. and create linked-lists of all the files in directories and...
Hello.
I'm designing (or trying) a program that will be command line on linux/unix that
checks for duplicate files. I'm coding a function that will take argv[1] - argv[n] and build
a...
Hi.
How come when I use readdir() to read each file in a directory the d_type field is
always NULL? Isn't it supposed to be different for different file types?
Also is there...