Article View: gnu.misc.discuss
Article #62919Re: rm (was: Hurd questions)
From: Clint Olsen
Date: Tue, 04 Apr 1995 00:00
Date: Tue, 04 Apr 1995 00:00
28 lines
1690 bytes
1690 bytes
In article <gordznfqz9mpghp7_-_@enci.ucalgary.ca>, Gordon Matzigkeit <gord@enci.ucalgary.ca> wrote: >Hi! > >>>>>> "Michael" == Michael De La Rue <mikedlr@tardis.ed.ac.uk> writes: > > Michael> I don't like all these rm changing suggestions. What I > Michael> think would be a great idea is the adoption of a command > Michael> `trash' with identical arguments to rm, but doing a mac like > Michael> trashcan system, where it just moves the files. A trashd > Michael> could run all the time, deleting files that are more than > Michael> are wanted (a week or other user defined limit or bigger > Michael> than etc.. can be used to control this). This has several > Michael> advantages > >I had a similar idea, until somebody set me straight a couple of >months ago... > >UNIX shells are *so* flexible, what you're asking for can be >accomplished by a few simple aliases and a .logout file. > >Think about it, and you'll see that it's easy to implement... But this is dangerous, because you'd only want to remove the trash when you exited a login shell, right? You don't want it cleaning house every time you exit a window. -Clint
Technical Details
Message-ID:
<3ls4aj$35h@nntp3.u.washington.edu>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<81696@sdcc12.ucsd.edu> <3lf7dh$fhq@usenet.INS.CWRU.Edu> <3louks$hk2@tardis.tardis.ed.ac.uk> <gordznfqz9mpghp7_-_@enci.ucalgary.ca>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 1025b4,ef34758fb4e8c162 X-Google-Attributes: gid1025b4,public From: olsenc@kodiak.ee.washington.edu (Clint Olsen) Subject: Re: rm (was: Hurd questions) Date: 1995/04/04 Message-ID: <3ls4aj$35h@nntp3.u.washington.edu> X-Deja-AN: 100837918 references: <81696@sdcc12.ucsd.edu> <3lf7dh$fhq@usenet.INS.CWRU.Edu> <3louks$hk2@tardis.tardis.ed.ac.uk> <gordznfqz9mpghp7_-_@enci.ucalgary.ca> organization: University of Washington, Seattle newsgroups: gnu.misc.discuss