Would it be possible for a script to duplicate a file and incrementally number it?
File in: XXX_007_0580_xxxx_v0016.aep
File out: XXX_007_0580_xxxx_v0017.aep
If someone knows of a way I'd love to see it.
The following works to rename the numbering of files.
# rename -n 's/(\d+)(.*)/($1+99).$2/e' *.txt
1-file.txt renamed as 100-file.txt
3-file.txt renamed as 102-file.txt
4-file.txt renamed as 103-file.txt
5-file.txt renamed as 104-file.txt
7-file.txt renamed as 106-file.txt
I have a text file, inside of this file is a number, and I have a script.sh in ksh.
The script reads the file and gets the number, then increases the number by 1 and overwrites the new number in the file, then sleeps for some time and the process repeats until the number is equal to 120.
I want to have this script running n times at the same time, how do I do this?
Whenever I have a document in Word 7 that has numnbering in it, like 1 to 30 and I change it to a PDF file , the numbering changes. For example: in Word 7:
becomes in the PDF file:
Then I have to move several of the number up to be in numerical order again, before I can creat the PDF file.