SCIENTIFIC-LINUX-USERS Archives

February 2015

SCIENTIFIC-LINUX-USERS@LISTSERV.FNAL.GOV

Options: Use Monospaced Font
Show Text Part by Default
Show All Mail Headers

Message: [<< First] [< Prev] [Next >] [Last >>]
Topic: [<< First] [< Prev] [Next >] [Last >>]
Author: [<< First] [< Prev] [Next >] [Last >>]

Print Reply
Subject:
From:
ToddAndMargo <[log in to unmask]>
Reply To:
ToddAndMargo <[log in to unmask]>
Date:
Sat, 28 Feb 2015 10:56:22 -0800
Content-Type:
text/plain
Parts/Attachments:
text/plain (14 lines)
On 02/28/2015 05:04 AM, Boris Goldowsky wrote:
> Xargs is designed for this sort of thing.
>
> 	find / -type f -iname \*.pdf -print0 | xargs -0 -n1
> /opt/pdfstudio9/pdfstudio9
>
>
> For programs that accept more than one file on the command line, you can
> drop the -n1.
>
> Boris
>
Thank you!

ATOM RSS1 RSS2