From owner-freebsd-questions@FreeBSD.ORG Fri Apr 29 11:52:30 2011 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E959D1065673 for ; Fri, 29 Apr 2011 11:52:30 +0000 (UTC) (envelope-from olivares14031@gmail.com) Received: from mail-bw0-f54.google.com (mail-bw0-f54.google.com [209.85.214.54]) by mx1.freebsd.org (Postfix) with ESMTP id 784A08FC0A for ; Fri, 29 Apr 2011 11:52:30 +0000 (UTC) Received: by bwz12 with SMTP id 12so4337055bwz.13 for ; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=U4EBRd6cSD2yURpOop7hNI0vL+Lh4gZ81C99MQyqHlU=; b=vOC7PtkXf3UjuM0mZM4dAH4OyH75pQ1+OoO/OQblhubND+mIhkZ7vQkuNZ5bC9pHIH IeRIXc3rMdR6Gp7CYo4sPZgj0+4wHtYpBUHIXJmZjmJZXENxfIHFMsGVHR8rVVWLexh9 Evx9KNHwXaZOSBf5TMpz0q8evdy3nuUCii17s= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=fKu2LMvperbSKCJI0NuyriBQeBloRYB/EVLrgnnnq38P5fLDQn7wmjfRQmYz4bWCjX gtdsg3mk9x+XtGLQ6YDyr7iRbJmCGfIEHXThp7LODIHf2V6eGT3fhLV4el9hSCaWT7Au IyXd33vqgLpjqFJMTp/cmFmkipLClGbcGjkzU= MIME-Version: 1.0 Received: by 10.204.151.202 with SMTP id d10mr1815077bkw.168.1304077949324; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) Received: by 10.204.169.65 with HTTP; Fri, 29 Apr 2011 04:52:29 -0700 (PDT) In-Reply-To: <629611.69016.qm@web113601.mail.gq1.yahoo.com> References: <629611.69016.qm@web113601.mail.gq1.yahoo.com> Date: Fri, 29 Apr 2011 06:52:29 -0500 Message-ID: From: Antonio Olivares To: Dino Vliet Content-Type: text/plain; charset=ISO-8859-1 Cc: freebsd-questions@freebsd.org Subject: Re: how to concatenate 2 pdf files to 1? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 29 Apr 2011 11:52:31 -0000 On Fri, Apr 29, 2011 at 1:57 AM, Dino Vliet wrote: > Dear freebsd userlist, > here an application type of question. I have two pdf files and want to make 1 out of them by concatenating them. Does anyone have an idea how to do that on unix/linux as I don't have the pdf editor from Adobe. > > So fileA.pd en fileB.pdf should become fileC.pdf (where C is A+B) > > Brgds > Dino You can use gs (ghostscript) Try the following: $ gs -dNOPAUSE -sDEVICE=pdfwrite -sOUTPUTFILE=fileC.pdf -dBATCH fileA.pdf fileB.pdf That should combine the 2 into 1. Regards, Antonio