Skip to content

The Repository some automation scripts which can be used to automate the boring tasks.

Notifications You must be signed in to change notification settings

Abhinav-26/Automation-Scripts

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

31 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Automated-Scripts

The repository contains automation scripts which can be used to automate your go-to works or boring stuffs

1. DockerSetup.py
In this python file I have created a script which will automatically download and configure the docker in your system. This is only for linux operating systems.

NOTE : I have not used the concepts of error handling but soon will add some use-cases in the script for better performance.

2. NmapScanner.py
In this python script I have used the concepts of conditional statements and commands of nmap. This script I have created just to enhance my skills and recall the concepts of nmap-scanner. It consists of 10 different types of nmap scans for which we need to remember the commands but this script will help me to just launch the scans without mugging up the commands for every other task.

NOTE : I haven't checked for the all the tasks mentioned in the menu. So if any ERROR comes please dm me on my LinkedIn Profile.

3. ImageNaming.py
In this python file I have created a auto-naming script which I use to filter the data for training espically to work with images. you just need to mention the directory path in which images are present and it will satrting naming those images in a proper way. By default it will satrt with 1.jpg, 2.jpg,... and so on. It can useful for such use cases. I have used the OS module of Python for creating this.

4. MailSender.py
In this python file I have created a mail-sending script. I have used the concpets of smtp server to create this script. I use this script to send automated mails where-ever needed in my projects. To send mail just give the reciptent mail ID and it will automatically send the mail. Also at the place of usermail and password, enter your usermail and password of gmail account.

NOTE : I would suggest to use environment variables instead of directly using your MailID and Password, as I used because it is more convinient way as well as more secure way to use such scripts.

5. PgBackup.sh
I have created a shell script which migrates the database on schema level from one database instance to another without any downtime. This also takes a quick snapshot of the entire contents of the DB and stores in for later needs for disaster recovery needs.

NOTE : I would suggest to use environment variables instead of directly using your Database credentials, as I used because it is more convinient way.

Contact: Linkedin Github

About

The Repository some automation scripts which can be used to automate the boring tasks.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published