Skip to content

Simple c++ tool to search for files by extension and write to csv file.

License

Notifications You must be signed in to change notification settings

jon2allen/file_audit

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

16 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

file_audit

Simple c++ tool to search for files by extension and write to csv file.

Notes

Used chatGPT to create most of the code via Bing chat.

  • Main module file_audit.cpp
  • progress.h class

I glued pieces together.

  • added part to count all files in dir structure
  • updated progress bar
  • extra prints

for details. took a few iterations to get it right.

See blog https://www.jibsheet.net/linux/index.php/2023/05/24/chatgpt-creating-a-c-file-search-with-csv-output/

Licsnes is MIT. Not sure about it. The code looks like many of the examples out on the internet.

#Usage: ./file_audit --dir --csvfile --type

Options:

--dir Specify the directory to scan recursively

--csvfile Specify the output csv file name

--type Specify the file extension type to filter - use .pdf not pdf - include

-h Show this help message and exit

About

Simple c++ tool to search for files by extension and write to csv file.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published