LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 07-21-2008, 08:54 PM   #1
Libu
Member
 
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Rep: Reputation: 36
Change name of backup file in ext3 from filename~ to .filename~


Whenever I create/edit a file the current version of that file is backed up with a tilda added to the file name.
Quote:
e.g
$ ls ap*
ap.test ap.test~
I guess this is the journal feature of ext3 file system. That's, good but sometimes its irritating to see these files lying around. Is there a way to turn this off or even better configure it so that the files are hidden, i.e. the backup file name is .filename~


I know that ext3-journaling is ext2 and I found a link from the forums about that :
http://www.troubleshooters.com/linux/ext2toext3.htm

But I would like to know whether there's any other way to do this.

Thanks

Last edited by Libu; 07-21-2008 at 08:56 PM.
 
Old 07-21-2008, 09:11 PM   #2
jailbait
LQ Guru
 
Registered: Feb 2003
Location: Virginia, USA
Distribution: Debian 12
Posts: 8,346

Rep: Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552Reputation: 552
Quote:
Originally Posted by Libu View Post

Whenever I create/edit a file the current version of that file is backed up with a tilda added to the file name.

I guess this is the journal feature of ext3 file system.
No, the backups are created by application programs such as your text editor. This behavior is configurable. Look in your text editor's configuration options and turn off creating a backup on save or some such thing.

-------------------
Steve Stites
 
Old 07-21-2008, 09:29 PM   #3
Libu
Member
 
Registered: Oct 2003
Location: Chennai
Distribution: Slackware 12.1
Posts: 165

Original Poster
Rep: Reputation: 36
Quote:
Originally Posted by jailbait View Post
No, the backups are created by application programs such as your text editor. This behavior is configurable. Look in your text editor's configuration options and turn off creating a backup on save or some such thing.
aah..thanks a lot. I should have known the filesystem features would not have been so in your face .

Peace.
 
  


Reply

Tags
ext3, journaling



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 On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Convert static library (Filename.a) to dynamic shared object (filename.so) afx2029 Linux - Software 4 08-17-2007 06:07 AM
filename change in c++ rino.caldelli Programming 6 02-26-2006 02:08 PM
change uploaded files from filename.avi to filename.avi.html like www.rapidshare.de latheesan Linux - Newbie 3 06-16-2005 04:33 AM
How to change a mass of filename in a dir? superztnt Linux - General 4 07-27-2004 07:29 AM
Script to change several filename jan_81 Linux - Newbie 5 04-28-2004 11:10 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 07:31 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