Skip to content

Python Script to scrape and synchronize entire directories from Intranet

License

Notifications You must be signed in to change notification settings

ossdaiict/Intranet_Sync

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Intranet_Sync

Python Script to scrape and synchronize entire directories from Intranet - an Apache RedHat HTTP server

GitHub issues GitHub forks GitHub license

This script...

  1. Scrapes the remote directories (from DIR_URLS list)
  2. Compares with locally available files
  3. Asynchronously downloads missing files

Usage

Make sure you have Python 3 installed. Commands may vary for Windows environment.

1. Clone the project:

git clone https://github.com/meet59patel/Intranet_Sync.git

2. Install Dependencies:

Open terminal in Intranet_Sync directory.

pip install -r requirements.txt

3. Add links to the directories you want to synchronize:

Update DIR_URLS list inside main.py Also update DEST_PATH

4. Run:

python3 main.py

Development

  • Asynchronous GET requests for files
  • GUI

Releases

No releases published

Packages

No packages published

Languages