I am trying to get some help that's beyond RTFM. I have an ebook
series in pdf that I am trying to split into its' component books.
When I split the book into pages, it numbers them
1,2,3,...10,11,12...100,101,102...etc., just like it should. I'm
trying to arrange them to merge, but they get listed as
100,101,102.....10,11,12...1......200,201,202....20,21,22,......2, and
so on. I need to add leading zeros to the files (two zeros to single
digit files, one zero to two digit files...) for reassembly.
sysiphus <sysip...@gmail.com> writes:
>I am trying to get some help that's beyond RTFM. I have an ebook
>series in pdf that I am trying to split into its' component books.
>When I split the book into pages, it numbers them
>1,2,3,...10,11,12...100,101,102...etc., just like it should. I'm
>trying to arrange them to merge, but they get listed as
>100,101,102.....10,11,12...1......200,201,202....20,21,22,......2, and
>so on. I need to add leading zeros to the files (two zeros to single
>digit files, one zero to two digit files...) for reassembly.
>Any pointers?
In Slackware there is an excellent utility called rename that provides just
this sort of feature for bulk renaming of files based on patterns.
-- Aaron W. Hsu | arcf...@sacrideo.us | http://www.sacrideo.us Programming is just another word for the lost art of thinking.