[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] Re: How to 'update' an updated archive?
From: |
Aaron Bentley |
Subject: |
Re: [Gnu-arch-users] Re: How to 'update' an updated archive? |
Date: |
Tue, 15 Jun 2004 17:43:16 -0400 |
User-agent: |
Mozilla Thunderbird 0.5 (X11/20040309) |
Juliusz Chroboczek wrote:
AB> There is no "restore all deleted files but retain other changes"
AB> command.
for i in $(tla inventory -s) ; do
if [ ! -f $i ] ; then tla file-diffs -u $i | patch -p1; fi
done
or something like that.
Well, not exactly like that; tla inventory doesn't list deleted files.
Maybe like this, though:
owd=$(cwd)
cd $(tla library-find $(tla logs -f|tail -n 1))
for i in $(tla inventory -s); do if [ ! -f $owd/$i ]; then cp -p $i
$owd/$i; fi; done
What you don't know is that Tom's real name is Bourne, and that he has
a secret agenda to get us to learn shell programming.
Err, yeah. I've written one or two tla-related shell scripts :-)
http://sourcecontrol.net/~abentley/aba
Of course, the original Arch implementation was a far more sophisticated
Shell programming effort.
Aaron
--
Aaron Bentley
Director of Technology
Panometrics, Inc.
- [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, 2004/06/15
- 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