Skip to content

This Script Detect Changes In Directory Provide By User also useful in circleci for less build time

Notifications You must be signed in to change notification settings

soheshdoshi/Python-Script-For-Detect-File-Changes-In-Directory

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Python-Script-For-Detect-File-Changes-In-Directory

Codacy Badge

This Script Detect any file changes like Create, Delete, Rename or File Contain Changes Indide the File Detecte with his Path like

{'created': [], 'deleted': [], 'file_changes': ["C:\User\Desktop\file1.txt"]}

What's included?

  • Detect File Create
  • Detect File Delete
  • Detect File Name Change
  • Detect File Content Change

Getting Started

These instructions will get you a copy of the project up and running on your local machine for development and testing purposes. See deployment for notes on how to deploy the project on a live system

Prerequisites

What things you need to install the software and how to install them

Python 3.x

Installing

(Windows Machine) (Linux Machine) (Mac Machine)

How to Run

python first_script.py C:\Desktop\Directory

Contributing

If you want to implement, please follow the following steps:

  1. First, comment on the issue for that function you want to implement.
  2. On Github, fork the repository (see this article).
  3. Clone the repository to your local machine (see this article).
  4. Create a new branch with git checkout -b [function-name].
  5. Commit you work (using git add [file] and git commit).
  6. Push your commit to your repository on Github (using git push).
  7. Submit a pull request on the repository, requesting that your code be merged into the repository (see this article).
  8. Wait for your pull request to be merged into master. Thank you for any contributions!

Authors

Sohesh Doshi

About

This Script Detect Changes In Directory Provide By User also useful in circleci for less build time

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Packages

No packages published

Languages