You are not logged in.

#1 2009-09-15 10:11:16

Netsu
Member
From: Poland
Registered: 2009-04-04
Posts: 182

[solved] ~ files

So I figure files ending with a ~ sign are some sort of previous versions of the text files they represent. I don't like them lying around everywhere so I figured that maybe I can remove them all on every shutdown. Is it safe to remove all such files from let's say /etc directory? /home directory? I mean the files corresponding to various configs.

The second issue is how to do it tongue 'rm *~' will surely do if I only want to remove them from a single directory, but what if I want to delete all those files that are within my /home, no matter in what subdirectory they reside?

Last edited by Netsu (2009-09-15 10:26:11)


My Elegant Pattern GTK theme.
My game development blog, now on a new site.

'~/.xinitrc is an Archer's DE' - moljac024

Offline

#2 2009-09-15 10:18:17

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

Re: [solved] ~ files

Thats a very ugly solution. Remove these once and it's done. These files are mostly backups from the original files, created by editors like vim. A "set backup off" in /etc/vimrc should do it.


Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

#3 2009-09-15 10:25:47

Netsu
Member
From: Poland
Registered: 2009-04-04
Posts: 182

Re: [solved] ~ files

nesrecar wrote:

A "set backup off" in /etc/vimrc should do it.

Haven't thought of that roll i guess it's solved.


My Elegant Pattern GTK theme.
My game development blog, now on a new site.

'~/.xinitrc is an Archer's DE' - moljac024

Offline

#4 2009-09-15 10:27:10

nesrecar
Member
From: Germany/Munich
Registered: 2004-06-06
Posts: 79

Re: [solved] ~ files

Add a [SOLVED] tag behind the topic, please. yikes)


Public Key 0x24685E35 available from any key server you trust.

IRC: ssimon/Nesrecar

Offline

Board footer

Powered by FluxBB