[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Deleting old archives is slow
- To: Tom Limoncelli <tal@whatexit.org>
- Subject: Re: Deleting old archives is slow
- From: James Turner <james@calminferno.net>
- Date: Mon, 28 Sep 2015 10:17:08 -0400
- Cc: Tarsnap Mailing List <tarsnap-users@tarsnap.com>
- In-reply-to: <CAHVFxg=w=QPZ0sSV0x93ySx6W5NqD3REn8yK1tLKYHEwqV3+ag@mail.gmail.com>
- References: <CAHVFxg=w=QPZ0sSV0x93ySx6W5NqD3REn8yK1tLKYHEwqV3+ag@mail.gmail.com>
On Mon, Sep 28, 2015 at 10:14:38AM -0400, Tom Limoncelli wrote:
> Every couple months I expire a bunch of old archives with commands like...
>
> tarsnap -d -f archivename-2014010101
> tarsnap -d -f archivename-2014010102
> tarsnap -d -f archivename-2014010103
> ...
>
> Each deletion takes a minute or so. Is there any way to speed this up?
>
You can send one delete command for all the archives.
tarsnap -d -f archivename-2014010101 -f archivename-2014010102
-f archivename-2014010103
--
James Turner