LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - General (http://www.linuxquestions.org/questions/linux-general-1/)
-   -   Change name of backup file in ext3 from filename~ to .filename~ (http://www.linuxquestions.org/questions/linux-general-1/change-name-of-backup-file-in-ext3-from-filename%7E-to-filename%7E-657309/)

Libu 07-21-2008 09:54 PM

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

jailbait 07-21-2008 10:11 PM

Quote:

Originally Posted by Libu (Post 3222131)

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

Libu 07-21-2008 10:29 PM

Quote:

Originally Posted by jailbait (Post 3222140)
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.


All times are GMT -5. The time now is 08:45 AM.