[ale] How could I have avoided this?
George Allen
glallen01 at gmail.com
Sun Oct 28 21:11:44 EDT 2007
I usually do something like:
mv .mozilla .mozilla~
but... since I've been playing with 'git' lately, one could do:
cd .mozilla
git init
git add *
git commit -a -m "about to hack this dir to pieces... standby for disaster"
git branch test
git checkout test
<edit edit edit>
<frustration>
rm -rf *
git branch master
<yay, all the old files are back>
git branch test
<all gone - back to frustration>
etc....
Also been learning mercurial lately - too bad neither really tracks file
permissions - so can't do something like check in your /etc/ dir.... without
potential security problems on checkout
-George
On Saturday 27 October 2007 01:39:34 Robert Reese wrote:
> Hi John,
>
> *********** REPLY SEPARATOR ***********
>
> On 10/26/2007 at 8:35 PM John Mills wrote:
> > [snip] I gave up and
> >just blew away my '~/.mozilla/firefox' directory, taking with it my
> >bookmarks, etc.
> >
> >How could I just have removed whatever tag was preventing Firefox from
> >starting a new session?
>
> Couldn't you have simply renamed the offending directory so the bookmarks,
> etc. could have been rescued? I use that trick frequently to preserve the
> data while removing its viability.
>
> Cheers,
> Robert~
>
> ------------------------------------------------------
> * Microsoft is NOT a standard. *
> ------------------------------------------------------
>
> SIXIT Consulting
> O: (478) 599-1301
> Cell: 678-438-6955 or (478) 599-1301
> Fax: 866-355-3720 (Toll-Free)
>
> 2907-I Watson Blvd
> #308
> Warner Robins, GA 31093-8535
> United States
>
>
> _______________________________________________
> Ale mailing list
> Ale at ale.org
> http://www.ale.org/mailman/listinfo/ale
More information about the Ale
mailing list