Rust Taskbook Level 8.4
Given a text file, write the current time at the end of its text, starting with a new line.
Given a folder with files, get the names of all the images in this folder.
A text file is given. The user is asked for a word via the console. Check if the word is in the file.
The folder contains text files. Get the first N
lines of text from each file and write the result to a new file, separating the resulting texts with empty lines.
Given a folder with files, write a program that will make all text files in this folder empty.
Given an array containing file names, write a program that will create all files from the array in a given folder.
Ask the user for a number with an even number of digits. Check that the number is a lucky ticket, i.e. the sum of half the digits is equal to the sum of the other half of the digits.