Enums§
- Archive
Type - only allow explicit values and assign an extension type for each this is used to only allow specific archive types as flags for cli
- File
Type - This incorporates some of the archive types along with several other extensions for possible log files
Functions§
- actual_
run - archive_
remove_ truncate_ file_ bucketing - meat and potatoes - consumes file and steps through bucketing logic (remove, archive, truncate)
- archive_
selection_ and_ process - dry_
run_ details - Do not worry about testing this function - only renders a file list to stdout
- gather_
files_ from_ directory - Create a vector to store all unfiltered files in the provided directory
- get_
date - get_
file_ extension - Get a file extension type from a provided file path
- get_
file_ mtime_ diff - Self-explanatory
- remove_
file - Remove a provided file via it’s path
- tar_
file - Create a non-compressed tarball of a provided file
- tar_
gunzip_ file - Create a tarball of a provided file and compress
- test_
add - Fake test function
- truncate_
file - Truncate a provided file
- zip_
file - Create a zip archive of a provided file