Page 3 of 3 FirstFirst 123
Results 21 to 23 of 23

Thread: I lost a big project backup

  1. #21
    Join Date
    Oct 2006
    Location
    Lyon, France
    Beans
    839
    Distro
    Ubuntu 9.10 Karmic Koala

    Re: I lost a big project backup

    Quote Originally Posted by Chris Edgell View Post
    But if I were looking for a backup file in future, would I end that line with:
    2009.abw*.bak~." ? [do I have the *.bak~." right?]
    "*" means any character, or none (it's a shell glob, like in DOS, if you ever used that). It would be simpler and safer to use "*2009.abw*" to match against anything containing the string "2009.abw" anywhere in the file name. If you're looking for "any backup file", since the string "bak" is relatively uncommon except for backup files, you can use something like

    Code:
    find ~ -name "*bak*"
    Last edited by Mornedhel; July 2nd, 2009 at 10:47 PM. Reason: finding baks
    This is the first age that's paid much attention to the future, which is a little ironic since we may not have one.
    -- Arthur C. Clarke

  2. #22
    Join Date
    Oct 2008
    Location
    Chicago
    Beans
    755
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: I lost a big project backup

    Oh, Mornedhel...I see some light. Ah, yes, I "found" all the bak files--they were in the trash, but of course. I had sent them there. As I said earlier, I wished I had cleaned that up correctly when I found all my new work ON a backup, and continued to work there. As someone said, next time I opened it, it reverted to the original and the bak disappeared. Maybe, n...o that OP pretty much said it was gone.

    Anyway, I then went and "found all the files that ended in 2009.abw...
    Thanks for the light!!!!

  3. #23
    Join Date
    Feb 2007
    Location
    West Hills CA
    Beans
    10,044
    Distro
    Ubuntu 14.04 Trusty Tahr

    Re: I lost a big project backup

    The trash can is a safety net. You put files there and keep them a while until you empty the trash can. Only after you empty the trash can do the files really disappear.

    Keep notes of these mysterious linux commands. You will use them again.

    find ~ -name *.abw
    find ~ -name *.bak

    The permission denied is OK. It means only root (administrator) can find those files.
    -------------------------------------
    Oooh Shiny: PopularPages

    Unumquodque potest reparantur. Patientia sit virtus.

Page 3 of 3 FirstFirst 123

Tags for this Thread

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
  •