8 Mar
2010
8 Mar
'10
20:01
Hello, On Mon, 08 Mar 2010, Istvan Gabor wrote:
I would like to convert several ps files to pdf using pdftops. What would be the correct command line for batch processing if the ps filenames have white spaces and I have many files in the same directory?
for file in *.ps; do pstopdf "${file}" done IIRC, the "outfile" is optional. You can use it explicitly with: pstopdf "${file}" "${file//.ps/.pdf}" ## requires a POSIX shell, ## e.g. bash, ksh, zsh ... HTH, -dnh -- An American thinks 100 years is a long time; An European thinks 100 miles is a long distance. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org