Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/soheshdoshi/python-script-for-detect-file-changes-in-directory

This Script Detect Changes In Directory Provide By User also useful in circleci for less build time
https://github.com/soheshdoshi/python-script-for-detect-file-changes-in-directory

python script

Last synced: about 2 months ago
JSON representation

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

Awesome Lists containing this project

README

        

# Python-Script-For-Detect-File-Changes-In-Directory
[![Codacy Badge](https://api.codacy.com/project/badge/Grade/7e3bc0df477a4fb4a41749341799667b)](https://www.codacy.com/app/doshisohesh/Python-Script-For-Detect-File-Changes-In-Directory?utm_source=github.com&utm_medium=referral&utm_content=soheshdoshi/Python-Script-For-Detect-File-Changes-In-Directory&utm_campaign=Badge_Grade)

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](https://www.youtube.com/watch?v=dX2-V2BocqQ))
([Linux Machine](http://docs.python-guide.org/en/latest/starting/install3/linux/))
([Mac Machine](http://programwithus.com/learn-to-code/install-python3-mac/))

## 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](https://help.github.com/articles/fork-a-repo/)).
3. Clone the repository to your local machine (see [this article](https://help.github.com/articles/cloning-a-repository/)).
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](https://help.github.com/articles/creating-a-pull-request/)).
8. Wait for your pull request to be merged into master.
Thank you for any contributions!

## Authors

**Sohesh Doshi**