home *** CD-ROM | disk | FTP | other *** search
- Well, I am back again and you may not be rejoicing.
-
- This is CAN 2.0.
- Yes it is all (almost all) new.
-
- First, what you need to do to make this nifty thing for yourself
- or your system (if you are the system manager)
-
- 1. Copy the appropriate Makefile to Makefile and then compile.
- 2. Edit emptytrash to make it look in the trashcans of your system.
- 3. Install all of this wonderful stuff (Don't forget the man pages).
- Make sure to make "emptytrash" executable by the crontab that will run it.
-
- Second, So why have you wasted my time again or why version 2.0?
-
- 1. Well, I rewrote the entire can in C. This made it move twice as fast.
- Still a little slower than rm but certainly much nicer.
- 2. In the process of rewriting it, I added the verbose option and the
- interactive option.
-
- Third, There are some things about this that you should know.
-
- 1. This is my first attempt at a "C" utility but as far as I can tell,
- it does the trick.
- 2. It only changes the access time, not the modification time and then
- empties trash on the basis of access time. So, if you are really
- hard-core, you can see if the one you removed and then recovered is
- really the version you want.
- 3. This has the same handicap as my original script. You can only recover
- one file at a time, and you must know it's specific name. If I have
- time I will try my best to fix this problem.
- 4. The listing option is very primitive but since it traverses the
- directory tree by where it is placed, the last things canned are
- usually at the end of the list. I, once again, will do what I can
- to repair these features (bugs?).
- 5. This is my first time passing around multiple system designs.
- If I have a poor conception of what any system is like please let
- me know at the address below. (rhyme?)
- 6. You may have the possibility of a pathname greater than 80. I rarely do.
- To remedy any problems caused by this, simply change the define
- entitled MAXPATHLEN.
- 7. May be possible to add a force option, but I don't see the necessity
- of it right now.
-
- If you have any complaints or you have bug fixes or
- anything of the sort please write me at
-
- "athey@nosc.mil"
-
- Please write me if you install this and find it useful.
- Just a quick note would be great, everybody.
- I mean let me know if I should keep posting this artwork (junk?).
- -the bit butcher
-
- NOTE: CAN 2.01 now we can deal with cross device canning.
- NOTE: CAN 2.02 segmented and cleaned code.
-