This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#Author : Neel | |
#Purpose : Convert a file to another format | |
for i in `find . -iname "*.txt"`; do mv $i ${i%.txt}.html; done |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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" |