sha256.sh 196 B

12345678910
  1. #!/bin/sh
  2. cd gogs || exit # "gogs" is the directory that stores all release archives
  3. for file in *
  4. do
  5. if [ -f "$file" ]; then
  6. shasum -a 256 "$file" >> checksum_sha256.txt
  7. fi
  8. done