Now that you know how to loop through the files in a directory and spit out the names, let’s use those files with a command. ![]() ![]() You could change the wild card could to file-* to target all of the files that started with file-, or to *.txt to grab just the text files. That tells the for loop to grab every single file in the directory. You probably noticed we’re using the wild card character, *, in there.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |