[95157] in RedHat Linux List
Re: Question about scripts
daemon@ATHENA.MIT.EDU (Ray Curtis)
Thu Oct 15 15:16:58 1998
Date: Thu, 15 Oct 1998 15:15:53 -0400 (EDT)
From: Ray Curtis <ray@ray.clark.net>
To: redhat-list@redhat.com
In-Reply-To: <Pine.BSI.4.05L.9810151423210.17065-100000@www.inetnow.net>
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com
>>>>> "z" == zappa <zappa@inetnow.net> writes:
z> Hi all,
z> I wrote a bash script to run as a cron job which removes those pesky files
z> emacs leaves behind. Here is my script:
I just prefer to have an alias myself I call 'rmj' for remove junk:
alias rmj='echo rm *.bak *~ *# *.aux .*.bak .*~ .*# .saves* ;rm -R -f *.bak *~ *# *.aux .*.bak .*~ .*# .saves*'
This of course only removes on demand and only in the directory you
reside in, however echo's back what it removes and can be easily be
changed to include interactive removes etc.
--
Ray Curtis Unix Programmer/Consultant Curtis Consulting
mailto:ray@ray.clark.net http://www.clark.net/pub/ray
============================================================================
--
PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
http://www.redhat.com http://archive.redhat.com
To unsubscribe: mail redhat-list-request@redhat.com with
"unsubscribe" as the Subject.