04-06-2006
Not sure that I understand. Is this one directory or a directory tree? How the the files get removed? Anyway...
I would loop through all the files getting name and size (if date cannot be trusted, ignore it). Add name and size to a little database somewhere, timestamping this addition. Or if the entry is present, update size and timestamp. Then loop through database and find entries with old timestamps; process these; remove from database and directory (removal not possible? --- mark as processed in the database.)
8 More Discussions You Might Find Interesting
1. UNIX for Dummies Questions & Answers
Hello.
I've got round to installing RedHat 7.1, and i have this slight problem.
I'm not able to use my mouse wheel.
Is this just not possible in RedHat or is there a way to configure my mouse so i can use my mouse wheel.
Thank you. (1 Reply)
Discussion started by: Mr-Pixie
1 Replies
2. Linux
I just got the other computer working again and i put Fedora Core 2 on it but theres a problem. It wont recongnize my mouse at all. Not in installation or in the actual desktop... it doesnt even know its there. It says No - Mouse.... does anyone know how i can fix this? (4 Replies)
Discussion started by: FordGuy
4 Replies
3. UNIX for Advanced & Expert Users
A few years ago i found i the Net a "homework" about how to convert ps2 mouse to Indigo mouse. But i do not save it. Anybody helps me?
There are about 10 Indigo mice in all of my country.
Thanks in advance (2 Replies)
Discussion started by: mikidimov
2 Replies
4. HP-UX
I have a Belkin KVM switcher, but when I switch from Unix to Windows, then back to Unix, the mouse stops working is there any way to reset the mouse without restarting the workstation?
thanks! (0 Replies)
Discussion started by: xRonin
0 Replies
5. UNIX for Dummies Questions & Answers
Hi, I'm using rxvt in Cygwin and I'm wondering how to change my mouse bindings from the middle button for pasting to the right button. The main reason why I want to do this is because my laptop doesn't have a middle mouse button. Thanks for any help! (2 Replies)
Discussion started by: sayeo
2 Replies
6. Shell Programming and Scripting
Hi folks,
I have tried to add some trap detection in the below script....this script is used to monitor database activities...in a rather awkward way :rolleyes:....
The idea behind adding trap is that....this script creates lots of temporary files in the running folder to store the count... (1 Reply)
Discussion started by: frozensmilz
1 Replies
7. What is on Your Mind?
Which Input device do you use the most ?
for me... keyboard ofcourse !! (56 Replies)
Discussion started by: vpraveen84
56 Replies
8. Homework & Coursework Questions
Use and complete the template provided. The entire template must be completed. If you don't, your post may be deleted!
1. The problem statement, all variables and given/known data:
That is the last reply I received from my instructor, and I'm looking for some alternatives.
When using... (2 Replies)
Discussion started by: newuser45
2 Replies
LEARN ABOUT REDHAT
makedbz
MAKEDBZ(8) System Manager's Manual MAKEDBZ(8)
NAME
makedbz - rebuild dbz files
SYNOPSIS
makedbz [ -f filename ] [ -i ] [ -o ] [ -s size ]
DESCRIPTION
Makedbz rebuilds dbz(3) database. The default name of the text file is <pathdb in inn.conf>/history; to specify a different name, use the
``-f'' flag.
OPTIONS
-f If the ``-f'' flag is used, then the database files are named file.dir , file.index and file.hash. If the ``-f'' flag is not used,
then a temporary link to the name history.n is made and the database files are written as history.n.index , history.n.hash and his-
tory.n.dir.
-i To ignore the old database use the ``-i'' flag. Using the ``-o'' or ``-s'' flag implies the ``-i'' flag.
-o If the ``-o'' flag is used, then the link is not made and any existing history files are overwritten. If the old database exists,
makedbz will use it to determine the size of the new database.
-s The program will also ignore any old database if the ``-s'' flag is used to specify the approximate number of entries in the new
database. Accurately specifying the size is an optimization that will create a more efficient database. (The size should be the
estimated eventual size of the file, typically the size of the old file.) For more information, see the discussion of dbzfresh and
dbzsize in dbz(3).
HISTORY
Written by Katsuhiro Kondou <kondou@nec.co.jp> for InterNetNews. This is revision 1.1, dated 1999/08/27.
SEE ALSO
dbz(3), history(5), inn.conf(5).
MAKEDBZ(8)