我正试图用pdfbeads从数百张D0图像中制作一个pdf。我不能让程序按照正确的数字顺序使用图像。例如,在此过程中,我看到:
Prepared data for processing image-098.tif
Prepared data for processing image-099.tif
Prepared data for processing image-100.tif
Prepared data for processing image-1000.tif
Prepared data for processing image-1001.tif
Prepared data for processing image-1002.tif
Prepared data for processing image-1003.tif
Prepared data for processing image-1004.tif
Prepared data for processing image-1005.tif
Prepared data for processing image-1006.tif
Prepared data for processing image-1007.tif
Prepared data for processing image-1008.tif
Prepared data for processing image-1009.tif
Prepared data for processing image-101.tif
Prepared data for processing image-1010.tif
Prepared data for processing image-1011.tif
Prepared data for processing image-1012.tif通过下面的命令,我得到了正确的
ls -v所以我试着
pdfbeads $(ls -v) > file.pdf没有结果。
发布于 2020-06-23 03:39:09
如果计数达到1000个图像,那么我们必须在所有数字中使用4位数字来正确排序它们。这可以通过rename命令来完成:
rename image- image-0 *-[0-9][0-9][0-9].tif完成了!
image-0229.tif image-0487.tif image-0745.tif image-1003.tif
image-0230.tif image-0488.tif image-0746.tif image-1004.tif
image-0231.tif image-0489.tif image-0747.tif image-1005.tif
image-0232.tif image-0490.tif image-0748.tif image-1006.tif
image-0233.tif image-0491.tif image-0749.tif image-1007.tif
image-0234.tif image-0492.tif image-0750.tif image-1008.tif
image-0235.tif image-0493.tif image-0751.tif image-1009.tif
image-0236.tif image-0494.tif image-0752.tif image-1010.tif
image-0237.tif image-0495.tif image-0753.tif image-1011.tif
image-0238.tif image-0496.tif image-0754.tif image-1012.tif
image-0239.tif image-0497.tif image-0755.tif image-1013.tifhttps://unix.stackexchange.com/questions/594342
复制相似问题