[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Gnu-arch-users] Re: How to 'update' an updated archive?
From: |
Stig Brautaset |
Subject: |
[Gnu-arch-users] Re: How to 'update' an updated archive? |
Date: |
Tue, 15 Jun 2004 17:55:00 +0100 |
User-agent: |
Mutt/1.3.28i |
On Jun 15 2004, TC wrote:
> On May 01 2004, Amit wrote:
> >> I have an archive that has some files in it. I delete one file. I now want
> >> it back.
>
> To which Stig replied:
> > $ touch $file
> > $ tla file-diffs $file | patch -Rp1
> >
> > or
> >
> > $ cp $(tla file-find $file) .
>
> All of which require that the names of the missing files are known.
>
> But suppose I have deleted one or more files and I don't know
> which. "cvs update" would simply get the for me. What's arch's
> approach (other than saying, "be more careful with your
> files idiot!" :-)
tla changes | awk '/^D/ {print $2}' | while read f ; do
touch $f
tla file-diffs $f | patch -Rp1
done
or summat ;)
Stig
--
brautaset.org
- [Gnu-arch-users] Re: How to 'update' an updated archive?, TC, 2004/06/15
- [Gnu-arch-users] Re: How to 'update' an updated archive?,
Stig Brautaset <=
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Miles Bader, 2004/06/15
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Sri Ramkrishna, 2004/06/16
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Aaron Bentley, 2004/06/16
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Miles Bader, 2004/06/17
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Robert Widhopf-Fenk, 2004/06/18
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, James Blackwell, 2004/06/18
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, David Allouche, 2004/06/18
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, TC, 2004/06/18
- Re: [Gnu-arch-users] Re: How to 'update' an updated archive?, Aaron Bentley, 2004/06/18