Results 1 to 4 of 4

Thread: How to open misplaced backup file

  1. #1
    Join Date
    Apr 2009
    Location
    the other side of nowhere
    Beans
    492
    Distro
    Ubuntu 12.04 Precise Pangolin

    How to open misplaced backup file

    I did something definitely wrong here. I was trying to save a text file but wound up saving it as a backup file apparently. Its pretty important I get the information from the file and save it properly. It landfed in my documents. Is there a way to open this? I cans can see it but I don't know what to use to open it. Any help would be very greatly appreciated.

    thanks!

    mystmaiden

  2. #2
    Join Date
    Aug 2011
    Location
    51.8° N 5.8° E
    Beans
    5,212
    Distro
    Xubuntu 19.10 Eoan Ermine

    Re: How to open misplaced backup file

    A backup file is not a filetype of its own. It's just a copy of a file, stored under a different name, so that's still a text file.

    Can you tell us which application you used to make and save that text file? What files are now present in the directory where you tried to save it? What file format do you mean exactly with text? To me, that means plain, UTF-8 encoded text.

  3. #3
    Join Date
    Mar 2011
    Location
    U.K.
    Beans
    Hidden!
    Distro
    Ubuntu 18.04 Bionic Beaver

    Re: How to open misplaced backup file

    There are two methods I use currently (and frequently) to scour the filesystem (or target folders) for files I have buried away

    The first is to use sudo locate <some-pattern-in-file-name> .. but this requires you to remember the filename or part of it.

    The second requires the installation of ripgrep-all but thereafter I can scour for text patterns inside the file. For example find files containing "hello world". You can use grep pipe to eliminate unwanted files.

    There is also the date filter to use since you know the date of the backup?

  4. #4
    Join Date
    Jul 2005
    Location
    I think I'm here! Maybe?
    Beans
    Hidden!

    Re: How to open misplaced backup file

    As you can see it try simply opening it with gedit, mousepad, nano or whichever text editor you use in the OS then save it again with the .txt suffix.
    DISTRO: Xubuntu 20.04-64bit --- Code-tags --- Boot-Repair --- Grub2 wiki & Grub2 Basics --- RootSudo --- Wireless-Info --- SolvedThreads

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •