Click to See Complete Forum and Search --> : what are #filename# files?


psybintea
09-27-2001, 07:46 PM
i have a file in my user dir that has two #'s on either side of it? Any idea how it got there and how i can delete it?

X_console
09-27-2001, 09:21 PM
Not sure what it is. Have you tried reading it? Try typing "file #filename#" and see if it can be identified. To delete it, you could probably do rm -f \#foobar#

xDAVIDx
09-27-2001, 09:22 PM
I seem to remember that those files are backup copies created by some program ( a text editor maybe... ).

If you're sure that you want to delete them do this:

rm "#filename#"

notice the "..." around the file

also note that you do the same thing with files with spaces in the name.

rm "file name 1"

rattus
09-28-2001, 10:15 PM
They're created by emacs (and possibly others, but I _know_ emacs does it), and IIRC they're "modified but unsaved" backups - wo when you've modified a file (buffer) and exit and choose not to save emacs slaps these #files# down just in case you really meant "yes, please save over the top of the file I've decided I don't want to change"

It's trying to help, really.

removing should cause no problems.

[ 28 September 2001: Message edited by: rattus ]