September 2017
Intermediate to advanced
466 pages
9h 33m
English
A file extension is the part of a filename after the last dot (.) character. So, the file extension of the image.png file is png, which applies to both files and directories.
Once again, you will need a separate command-line option followed by the file extension you want to exclude in order to implement this functionality: the new flag will be named -ext. This version of the find(1) utility will be based on the code of excludeFind.go and will be named finalFind.go. Some of you might say that a more appropriate name for this option would have been -xext and you would be right about that!
Once again, the diff(1) utility will help us spot the code differences between excludeFind.go and finalFind.go ...
Read now
Unlock full access