LinuxQuestions.org
Visit Jeremy's Blog.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva
User Name
Password
Mandriva This Forum is for the discussion of Mandriva (Mandrake) Linux.

Notices


Reply
  Search this Thread
Old 04-24-2004, 03:49 PM   #1
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Rep: Reputation: 30
Making back up files hidden on Mandrake 10


Probably a question with a simple answer, but I can't find it anywhere...
How do I make the automatically created back up files hidden files, so they don't show up when i'm viewing a folder through konqueror?
My directories with files that I constantly modify are getting really cluttered...

Thanks,
Paul.
 
Old 04-24-2004, 05:29 PM   #2
mandeltuete
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Fedora 3
Posts: 75

Rep: Reputation: 15
How do you make your backup files? Have they got special filenames?
 
Old 04-24-2004, 06:32 PM   #3
heema
Senior Member
 
Registered: Sep 2003
Location: Egypt
Distribution: Arch
Posts: 1,528

Rep: Reputation: 47
just add a "." in the begining of a file if u want it to be hidden
eg : if u want to make a file called test hidden then it will be
.test
 
Old 04-25-2004, 06:08 AM   #4
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Original Poster
Rep: Reputation: 30
Basically if I open a file, modify it then close it a new file is automatically created.
Say the file I modify was something.cs then a new one is created called something.cs~
Its a useful feature but it is completely clogging up all of my folders.
It'd be nicer if they were hidden...

Heema, what you said makes the back up file hidden, but if I modify the original file then it just creates another back up file. I'm guessing it checks to see if something.cs~ exists, and if not it creates it. It doesn't really exist, because i've changed it into .something.cs~
 
Old 04-25-2004, 08:34 AM   #5
mandeltuete
Member
 
Registered: Mar 2003
Location: Switzerland
Distribution: Fedora 3
Posts: 75

Rep: Reputation: 15
You could make a shellscript which checkes your computer for files called anything.ending~ and adds a point to its name. Afterwards you could add the shellscript to cron.

You could possibly change the backup names in your program. Look in options, mostly you are able to do that.
 
Old 04-29-2004, 11:03 AM   #6
BluePyre
Member
 
Registered: Mar 2004
Location: London
Distribution: Mandrake 10
Posts: 172

Original Poster
Rep: Reputation: 30
As my shell scripting skills aren't that good (i'm working on it) I think that option won't work.
I thought there'd be an option to change it somewhere too, but that doesn't seem to be the case. Any other ideas?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

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
Hidden files? sonic04002 Linux - Newbie 2 11-09-2005 01:48 PM
back up files in mandrake frayed2 Mandriva 4 04-27-2005 09:14 PM
hidden files Jeebizz Slackware 4 04-22-2005 07:18 PM
home directory files gone, hidden files remain Grasshopper Linux - Security 12 04-10-2005 08:23 PM
K3B won't back up hidden directories racsw Linux - Software 3 11-21-2004 08:12 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Distributions > Mandriva

All times are GMT -5. The time now is 11:19 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration