LinuxQuestions.org
Visit Jeremy's Blog.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 06-16-2004, 05:41 AM   #1
random234
LQ Newbie
 
Registered: May 2004
Location: Refrath, Germany
Distribution: debian
Posts: 6

Rep: Reputation: 0
howto get rid of files with ~ appended


I wonder how to get rid of those annoying files which appear after appending new text to an file. I mean it's nice to have the chance to undo changes but, it bloats the hd.

ls
something.txt
joe something.txt
ls
something.txt something.txt~

Would be nice if someone could help especially because I can't figure out an google search term which returns anything useful.

Last edited by random234; 06-16-2004 at 05:43 AM.
 
Old 06-16-2004, 07:19 AM   #2
GexNZ
LQ Newbie
 
Registered: May 2004
Location: New Zealand
Distribution: Mandrake 10.0
Posts: 21

Rep: Reputation: 15
Do you want to stop the backup action from occurring. Or just delete the file when you notice it?

If you just want to remove the file
rm filename.txt~
will do it. No sure of disabling the feature altogether.
 
Old 06-16-2004, 09:19 AM   #3
miss crump
LQ Newbie
 
Registered: May 2004
Location: Oklahoma City, OK
Distribution: Debian
Posts: 17

Rep: Reputation: 0
If you don't want your editor to make backup copies by default, you can tell it not to. If you're using a graphical interface, like Kate for example, check in the program's Preferences. Every program I've looked at has an option to turn off automatic backup.

If you're using a terminal based editor, like Joe of Vi, then check their man pages. You can add a line to their rc files to make them stop backups.
 
Old 06-16-2004, 09:45 AM   #4
random234
LQ Newbie
 
Registered: May 2004
Location: Refrath, Germany
Distribution: debian
Posts: 6

Original Poster
Rep: Reputation: 0
Thanks i'm feeling so dumb right now
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
PATH appended with . ? kaon Slackware 1 04-19-2005 09:48 AM
howto get rid of Double Rpm's mickeyboa Fedora 5 04-06-2005 04:56 PM
best way to get rid of files? (for good) 90-60-90 Linux - Security 5 02-18-2005 12:39 PM
getting rid of interactive mode in MDK 10 howto? Lleb_KCir Linux - Software 10 04-21-2004 02:58 PM
Kernel grumbles during boot. Howto get rid of error(s)? JZL240I-U Linux - General 4 06-19-2003 08:22 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 05:43 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration