Interesting file

I just ran across a hidden file in my home directory called “.backup” and don’t have any idea what its purpose is. I’m sure it’s benign, but it’s driving me crazy.

-rw-r--r--  1 tux  users 6997400 2011-05-08 07:16 .backup

I can’t think of what I might have been doing back in May that might have created this file. I thought it might be an archive, but tar and gzip don’t recognize it as a valid tarball. I’ve renamed it and tried several things that might recreate it but nada. Does anyone else have this? Any guess what it’s for? I’m using Gnome 2 on openSUSE 11.3.

Use the “file” command to determine the file type (file ~/.backup).
What is in it (less ~/.backup)?

On 07/16/2011 06:36 PM, chief sealth wrote:
>
> Any guess what it’s for? I’m using Gnome 2 on openSUSE 11.3.

why not open it in a text file editor and see what is inside…

Alt+F2 and type in


gedit ~/.backup

or whatever you renamed it to, should open it right up…six MB to look
through…


DD
Caveat-Hardware-Software
openSUSE®, the BMW® of operating systems!

gedit doesn’t recognize the encoding. file detects a “data” file.

Maybe the strings command does give you a hint.

That’s interesting. Not much help in this case, though, just jibberish. It appears to be a binary file.

As are all computer files ;). But it seems that the groupings of 8 consecutive binary digits (bits), called bytes, when interpreted as characters encoded following the ASCII standard do not give much understandable text. rotfl!

I should say, keep it save under another name for the time being and see if some applications are missing or recreating it. Make a note to delete in a year when nothing shows up and then make a note in your “Things I never understood” booklet.