exrm_deb v0.0.4 ExrmDeb.Utils.File

Summary

Functions

Retrieves all the files within a directory, retrieves the size of all these files, then adds them all together

Remove all files that match a name

Remove junk files from the data directory

Remove tmp directories used when building the deb

Functions

get_dir_size(dir)

Retrieves all the files within a directory, retrieves the size of all these files, then adds them all together.

remove_all_files_by_name(root, name)

Remove all files that match a name

remove_fs_metadata(data_dir)

Remove junk files from the data directory.

remove_tmp(dir)

Remove tmp directories used when building the deb