Picked up a small hardback at a conference: 'Gunfire in Barbary: Admiral Lord Exmouth's battle with the Corsairs of Algiers in 1816' by Roger Perkins & K.J. Douglas-Morris, published 1982.

The battle was the culmination of British attempts to "reform" the piracy and slavery practiced by the city. For years the Corsairs had raided way beyond the Mediterranean; had been paid in gold for their good behaviour and sometimes 'gunboat diplomacy' was used.

Not to overlook the participation of a Dutch flotilla.

Fascinating account of the diplomacy, the covert recce of the harbour & city; the small fleet's preparations, the human angles and leadership.

I did like this quote, which seems to have applied in other battles:
...the Algerine gunners seemed to have 'learned the Navy List by heart, they took care to avoid every body who would have made a vacancy for promotion'.