 |
 |
Small App Idea: Trash Can with Compressor
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status:
Offline
|
|
Hey again.
Didn't find an app like this, atleast through a quickie search, so here it goes, should someone be interested:
Trash Can with Compressor
Background:
The Trash Can is a Good Thing. I've learnt to use it and every now and then find myself hopping in for a quick dig.
Problem:
The stuff in the trash takes up a lot of space!
Solution:
A piece of software which compresses the stuff in the Trash and deletes the originals. This should happen during idle time, or as a scheduled thing.
Encryption of the compressed files and shredding of the originals could be added to make malicious hard drive archeology more challenging.
Result:
Trash Can functionality remains, while disk space gets freed up.
Alternate hack: Compressor
A folder script that does the same for a user designated folder (dubbed 'Compressor'  ) that the user then manually empties to the actual trash.
The folder could be kept next to trash in the Dock, even.
Find these useful?
J
(Last edited by Judge_Fire; Oct 8, 2002 at 06:27 AM.
)
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: May 2002
Status:
Offline
|
|
I don't think I'll pick this one up, but I can suggest a name... Trash Compactor!
|
|
[vash:~] banana% killall killall
Terminated
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Sep 1999
Location: Ottawa, ON, Canada
Status:
Offline
|
|
Hmm... can you still attach action scripts to folders, like in MacOS 9?
Could you attach an AppleScript to compress whatever gets thrown in there?
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jul 2000
Location: Washington, DC
Status:
Offline
|
|
Why wouldn't you just empty the trash? (If something is in the trash, you obviously no longer want it, so what is the point of wasting CPU cycles compressing it?)

|
|
|
| |
|
|
|
 |
|
 |
|
Mac Elite
Join Date: Jan 2001
Location: Helsinki, Finland
Status:
Offline
|
|
Originally posted by krove:
Why wouldn't you just empty the trash? (If something is in the trash, you obviously no longer want it, so what is the point of wasting CPU cycles compressing it?)
The Trash Can has mercy, unlike a straightforward 'Delete'. In ideal circumstances (enough disk space) you wouldn't need to empty the trash at all, giving you a sort of timeline (date metadata) based 'Undo' for file deletion.
This app suggestion tries to honor that ideal, instead of a destructive 'Empty Trash'.
More of a UI principle based idea, really.
J
|
|
|
| |
|
|
|
 |
|
 |
|
Senior User
Join Date: Nov 2000
Status:
Offline
|
|
Tested and typed up in just a few minutes time. It's not automated but to do that shouldn't take much work. Create a shell script and use cron to run it every day....or something.
Step 1: Create a "Trashes" folder in your home directory.
Step 2: Open Terminal
a*: type; "ls .Trash"
Step 3: type; "cd Trashes"
Step 4: type; "gnutar -czvf trash**.tgz ../.Trash"
a: if gnutar returned no error, empty the trash.
From Terminal you could; "rm -rd ../.Trash" - it won't update the Trash icon in the dock but as soon as you click (or add to? not tested) it it creates another ~/.Trash folder.
* if you want to see a list of what's in the trash.
** You may want to add an identifier - like the date or something.
As for creating an AppleScript and attaching it, I don't know if that's possible - it may be. Anyone care to take a stab?
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|