Write a script that will be a directory in the file into two categories, namely the empty file and is not empty, all the empty file name and not empty all files are saved to the name of the two text files (the names of two text files can be set by yourself), finally delete all empty files in this directory,
CodePudding user response:
If the [[! - s filename]] file exists and is empty,