Skip to content

Instantly share code, notes, and snippets.

View neeltom92's full-sized avatar
👨‍💻
SRE!

Neel Thomas neeltom92

👨‍💻
SRE!
View GitHub Profile
#!/bin/bash
#Author : Neel
#Purpose : Convert a file to another format
for i in `find . -iname "*.txt"`; do mv $i ${i%.txt}.html; done
#!/bin/bash
n=domain_name;
#REPLACE HERE WITH THE DOMAIN NAME
dn=(/scripts/whoowns $n)
cd /home/$dn/public_html;
archive_directory="/home/$dn/public_html/archive"