This also occurs with TIFF files or presumably any other file format. Evince seems to be processing files based on file extension rather than magic. I was just very confused by processing files with "gm convert +adjoin $i.pdf $i.tiff" (from within a for loop) and being unable to open the resulting single-page tiffs.
After a few seconds I said "oh no, you've got to be kidding me - I hope it's not doing a Windows thing" and ran:
export a=0; for i in `ls *.tiff.* | sort -n -t'.' -k 3`; do export a=$((a+1)); mv $i ${i/.tiff.*/.$a.tiff}; done
to rename the files from (ex.) foo.tiff.1 to foo.1.tiff
This also occurs with TIFF files or presumably any other file format. Evince seems to be processing files based on file extension rather than magic. I was just very confused by processing files with "gm convert +adjoin $i.pdf $i.tiff" (from within a for loop) and being unable to open the resulting single-page tiffs.
After a few seconds I said "oh no, you've got to be kidding me - I hope it's not doing a Windows thing" and ran: */.$a.tiff} ; done
export a=0; for i in `ls *.tiff.* | sort -n -t'.' -k 3`; do export a=$((a+1)); mv $i ${i/.tiff.
to rename the files from (ex.) foo.tiff.1 to foo.1.tiff
I'm on Natty-beta with evince- 2.32.0- 0ubuntu12