Re: I lost a big project backup
Originally Posted by
Chris Edgell
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