I have many text files enumerated. I want to add missing text files and fill them with 0; e.g.,:
-directory -1.txt -2.txt -6.txt
I want to add 3.txt, 4.txt, and 5.txt to the directory. Each text file contains one character, 0. Here's an example:
-directory -1.txt -2.txt -3.txt -4.txt -5.txt -6.txt
Can this be done with a simple command?