Sunday, January 15, 2012

File Inventory - A Hybrid Version Control System - CodeProject®

Introduction to Article

Occasionally, I need to know the files in a directory have been added or removed recently. For example, I want to know if an image file has been deleted or added in picture directory. It is similar to the functionalities of Version Control System without the cumbersome of setup, check-in, check-out and separate storage; something simple and easy to use. Window OS does not include such a tool and I can not find anywhere mentioned.
Arms with knowledge of nowadays programming technology and Google Search, it seems not too difficult to write one.
In this article, I will show how I:
  • Convert idea into design
  • Write an Inventory class to inventory files
  • Save persistent data to SQLite database
  • Call to a .bat which runs different sql scripts each time
  • Discuss some future enhancement and variety to design


File Inventory - A Hybrid Version Control System - CodeProject®
Enhanced by Zemanta

No comments:

Post a Comment