[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: gEDA: PCB and GAFs use of /tmp to protect us when we are being really dumb
- To: geda-dev <geda-dev@xxxxxxxx>
- Subject: Re: gEDA: PCB and GAFs use of /tmp to protect us when we are being really dumb
- From: Carlos Nieves Ónega <cnieves.mail@xxxxxxxxx>
- Date: Sat, 18 Feb 2006 20:42:59 +0100
- Delivered-to: archiver@seul.org
- Delivered-to: geda-dev-outgoing@seul.org
- Delivered-to: geda-dev@seul.org
- Delivery-date: Sat, 18 Feb 2006 14:43:33 -0500
- Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:subject:from:to:content-type:date:message-id:mime-version:x-mailer:content-transfer-encoding; b=eGRVIhayqyL2mgYZKgE9pTqVFvo4NquAvStQ53q6M/8mou9T4a7YN2JELFSAzGWSGx/T09cN3iGuTwAU3NGNL2QF8e1EuXNuuTnKV0XTAn9376Uls/u2T+VIQSou4/pxhK8Q+dj+IF6Hr5N1BPeDOC3EZ531O2/efGon1uEhuSI=
- Reply-to: geda-dev@xxxxxxxx
- Sender: owner-geda-dev@xxxxxxxx
Sorry if you get this message twice. It seems like the previous one
didn't reach the list. See below.
Carlos
--------- Mensaje reenviado --------
De: Carlos Nieves Ãnega <cnieves@xxxxxxxxxx>
Para: geda-dev@xxxxxxxx
Asunto: Re: gEDA: PCB and GAFs use of /tmp to protect us when we are
being really dumb
Fecha: Fri, 17 Feb 2006 19:41:52 +0100
El jue, 16-02-2006 a las 11:10 -0800, Steve Meier escribiÃ:
[snip]
> So, since i was using emacs which generated backup files with the "~"
> character at the end of the file name I type...
>
> rm *
>
> notice that i forgot the damn "~" and poof all that work was gone....
[snip]
There is one possibility to protect a little more the backup copies...
I'm talking about schematic.sch~ and #schematic.sch# in the working
directory, not in /tmp:
If the backup copies are set to "read only", the command "rm *" will ask
the user if he really wants to delete those files.
The only drawback is when you really want to delete the backup copies:
you should first set the files writable, and then delete them (best
way), or issue "rm -f *" (this one would not ask the user).
One possible patch attached. Comments?
Carlos