Python

158 views 6:19 am 0 Comments March 13, 2023

 

Allow the user to specify a starting directory using the built-in Python input() function to point to the provided test directory

 

 

Acquire the following information for each file (including the sub-directories):

 

File Path (absolute path)

 

File Size

 

MAC Times (in human readable form)

 

SHA-256 Hash value of the content of each file

 

 

Store the results in a prettytable with the headings:

 

AbsPath, FileSize, LastModified, LastAccess, CreatedTime, SHA-256 HASH