From 1c542985f1e5be455228c7ffe6171169e36674ce Mon Sep 17 00:00:00 2001 From: Alfie Bowman Date: Wed, 21 Oct 2015 12:55:26 +0100 Subject: [PATCH 1/2] Rename README to README.md --- README => README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) rename README => README.md (97%) diff --git a/README b/README.md similarity index 97% rename from README rename to README.md index c067f4eb046..8140a70a767 100644 --- a/README +++ b/README.md @@ -34,4 +34,4 @@ script_count.py - This scans my scripts directory and gives a count of the diffe script_listing.py - This will list all the files in the given directory, it will also go through all the subdirectories as well -testlines.py - This very simple script open a file and prints out 100 lines of whatever is set for the line variable \ No newline at end of file +testlines.py - This very simple script open a file and prints out 100 lines of whatever is set for the line variable From 5b21ce42ab2d74519e0799b27823de1dca8337c8 Mon Sep 17 00:00:00 2001 From: Alfie Bowman Date: Wed, 21 Oct 2015 12:59:17 +0100 Subject: [PATCH 2/2] format file names --- README.md | 32 ++++++++++++++++---------------- 1 file changed, 16 insertions(+), 16 deletions(-) diff --git a/README.md b/README.md index 8140a70a767..31b118bc1a2 100644 --- a/README.md +++ b/README.md @@ -4,34 +4,34 @@ In the scripts the comments etc are lined up correctly when they are viewed in N batch_file_rename.py - This will batch rename a group of files in a given directory, once you pass the current and new extensions -create_dir_if_not_there.py - Checks to see if a directory exists in the users home directory, if not then create it +`create_dir_if_not_there.py` - Checks to see if a directory exists in the users home directory, if not then create it -dir_test.py - Tests to see if the directory testdir exists, if not it will create the directory for you +`dir_test.py` - Tests to see if the directory testdir exists, if not it will create the directory for you -env_check.py - This script will check to see if all of the environment variables I require are set +`env_check.py` - This script will check to see if all of the environment variables I require are set -fileinfo.py - Show file information for a given file +`fileinfo.py` - Show file information for a given file -folder_size.py - This will scan the current directory and all subdirectories and display the size. +`folder_size.py` - This will scan the current directory and all subdirectories and display the size. -logs.py - This script will search for all *.log files in the given directory, zip them using the program you specify and then date stamp them +`logs.py` - This script will search for all `*.log` files in the given directory, zip them using the program you specify and then date stamp them -move_files_over_x_days.py - This will move all the files from the src directory that are over 240 days old to the destination directory. +`move_files_over_x_days.py` - This will move all the files from the src directory that are over 240 days old to the destination directory. -nslookup_check.py - This very simple script opens the file server_list.txt and the does an nslookup for each one to check the DNS entry +`nslookup_check.py` - This very simple script opens the file `server_list.txt` and the does an nslookup for each one to check the DNS entry -osinfo.py - Displays some information about the OS you are running this script on +`osinfo.py` - Displays some information about the OS you are running this script on -ping_servers.py - This script will, depending on the arguments supplied will ping the servers associated with that application group. +`ping_servers.py` - This script will, depending on the arguments supplied will ping the servers associated with that application group. -ping_subnet.py - After supplying the first 3 octets it will scan the final range for available addresses +`ping_subnet.py` - After supplying the first 3 octets it will scan the final range for available addresses -powerdown_startup.py - This goes through the server list and pings the machine, if it's up it will load the putty session, if its not it will notify you. +`powerdown_startup.py` - This goes through the server list and pings the machine, if it's up it will load the putty session, if its not it will notify you. -puttylogs.py - Zip up all the logs in the given directory +`puttylogs.py` - Zip up all the logs in the given directory -script_count.py - This scans my scripts directory and gives a count of the different types of scripts +`script_count.py` - This scans my scripts directory and gives a count of the different types of scripts -script_listing.py - This will list all the files in the given directory, it will also go through all the subdirectories as well +`script_listing.py` - This will list all the files in the given directory, it will also go through all the subdirectories as well -testlines.py - This very simple script open a file and prints out 100 lines of whatever is set for the line variable +`testlines.py` - This very simple script open a file and prints out 100 lines of whatever is set for the line variable