[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Gnu-arch-users] [BUG] opposite of register-archive -f
From: |
James Blackwell |
Subject: |
Re: [Gnu-arch-users] [BUG] opposite of register-archive -f |
Date: |
Sun, 18 Jul 2004 18:55:39 -0400 |
Andrew Suffield wrote:
> I find myself in need of an argument to register-archive that does the
> opposite of -f: if the archive is already registered, do nothing.
>
> This is specifically intended for the one-argument form, where you are
> given a URI, and want to register the archive only if it is
> new. Otherwise it's approximately equivalent to 'whereis-archive ||
> register-archive'.
address@hidden:~$ tla register-archive /home/jblack/{archives}/2004
archive already registered: address@hidden
Registering archive: address@hidden
$
I take it this doesn't work for you. Is the return code or the output
getting in your way?
--
James Blackwell Try something fun: For the next 24 hours, give
Smile more! each person you meet a compliment!
GnuPG (ID 06357400) AAE4 8C76 58DA 5902 761D 247A 8A55 DA73 0635 7400