December 2021
Intermediate to advanced
510 pages
11h 20m
English
You can try the following exercises to improve the skills you learned:
Update the walk tool so that it allows the user to provide more than one file extension.
Improve the walk tool by adding more filtering options, such as files modified after a certain date or files with long file names.
Create a companion tool for walk that restores the archived files in case they are needed again. Recreate the original directory by using the same approach you used to create the destination directory in the archiveFile function. Then use the gzip.Reader type from the compress/gzip package to uncompress the archive files.
Read now
Unlock full access