Last active
February 17, 2022 20:34
-
-
Save samiyuru/9888d84f9e586104a3a8eccf8f4cfada to your computer and use it in GitHub Desktop.
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
#!/usr/bin/env bash | |
NC_PORT=$1 | |
find . -type f -print0 | xargs -0 sha1sum | sort > file_checksums.txt | |
echo "-----" > demo_information.txt | |
date >> demo_information.txt | |
pwd >> demo_information.txt | |
echo $USER >> demo_information.txt | |
cat file_checksums.txt >> demo_information.txt | |
echo -e "-----\n\n\n\n\n" >> demo_information.txt | |
cat demo_information.txt | nc -v vcf0.cs.uga.edu $NC_PORT |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment